Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleCURL - getCallerInformation Test
c:\public\cygwin64\bin\curl.exe --silent -i -X POST -d '{ "SalesForceID" : "<SalesForceRecordId>", "AgentUID" : "test.agent@example.com", "bOutbound" : 0, "CallerID" : "4989461495011", "ServiceNumber" : "49800123456", "ServiceName" : "Test Service", "AcdAgentGroupsName" : "Sales", "AcdConfigurationGroupsName" : "Sales", "dtCallStart" : "2018-03-16T16:45:00", "dtCallAlert" : "2018-03-16T16:45:02", "dtCallConnected" : "2018-03-16T16:45:10", "dtCallEnd" : "2018-03-16T16:50:10", "nDuration" : 300, "CONNRES" : 1, "Cause" : 16, "TransactionCodeExportKey" : "Offer Made" }' --header "Content-Type: application/json" --header "Authorization: Bearer 00D0Y000001JcS4!AR0AQPvSpLbaKDtFqmHqUDkCgtwzllBwTBaqRg39TehrnDQrtZaja4DqA3p7LZ59EI2EI15a4Bg0C9ajwlqNjWixWnsAg2eK<OAUTH_TOKEN>" --header "Connection: Close" "https://eu11.salesforce.com<SALES_FORCE_INSTANCE_URL>/services/apexrest/jtelACD/writeCallStatistics"

 

...