Asynchronous Version of RW Services
All RW services have asynchronous variants:
Synchronous service | Asynchronous variant | Get result of asynchronous service |
---|---|---|
processDelta |
processDeltaAsync |
processDeltaAsyncGet |
processUpsert<entity> |
processUpsert<entity>Async |
processUpsert<entity>AsyncGet |
processMatch |
processMatchAsync |
processMatchAsyncGet |
processPurge |
processPurgeAsync |
processPurgeAsyncGet |
Those services are automatically available with their asynchronous variants - no extra configuration is required. These services are visible in the Admin Center including WSDL if appropriate (for the SOAP format).
The difference between synchronous and asynchronous services:
-
Asynchronous services have the same input as synchronous.
-
Asynchronous services return only
taskId
. -
Result of asynchronous call can be obtained by calling another service (<asynchronous_service>Get).
Example request to processDeltaAsyncGet:
<processDeltaAsyncGet>
<taskId>1403</taskId>
</processDeltaAsyncGet>
Example response of processDeltaAsyncGet (result element has same structure as response of synchronous processDelta):
Process Delta Async Response
<processDeltaAsyncGetResponse xmlns="http://www.ataccama.com/ws/nme/processDeltaAsyncGet">
<id>601</id>
<typeId>service.processDeltaAsync</typeId>
<status>FINISHED_OK</status>
<result>
<recordList>
<record id="401003" recordChange="NONE" origin="crm#customer#party" sourceId="34590835"/>
</recordList>
</result>
</processDeltaAsyncGetResponse>
Was this page useful?