Invoke Synchronization
post
/iot/api/v2/apps/{app-id}/integrations/{id}/sync/now
Invoke synchronization by given sync instance id and application id. This API is only applicable to BICS Integrations and OSCS Integrations.
Request
Path Parameters
-
app-id: string
ID of application
-
id: string
ID of the sync instance
Response
202 Response
Successfully processed
409 Response
Conflict. The request could not be completed due to a conflict with the current state of the resource. This code is only allowed in situations where it is expected that the user might be able to resolve the conflict and resubmit the request.
Examples
The following example shows how to make a synchronization request for JDE Integration
0-U4JQ
under Application
0-RYJQ
by submitting a POST request on the REST resource using cURL. For more information about cURL, see
Use cURL.
Note:
In the request,iotserver
will be replaced by name and port of your assigned Oracle IoT Cloud Service instance. The format of the Cloud Service instance is
myinstance-myidentitydomain.iot.us.oraclecloud.com
and the default port is
443.
curl -X POST -H 'Authorization: Basic aW90OndlbGNvbWUx' "http://iotserver/iot/api/v2/apps/0-RYJQ/integrations/0-U4JQ/sync/now"
Example of Response Header
The following example shows the contents of the response to the synchronization request on the JDE integration instance. Note, there is no body returned in this case.
HTTP/1.1 202 ACCEPTED