Submit Fusion Contracts Synchronization Task
post
/rest/v19/pricingSetup/actions/syncWithFusionContracts
Use this endpoint to submit a task to synchronize sales agreement contracts from Oracle Sales Contracts to CPQ.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Success
Root Schema : TaskResponseBean
Type:
Show Source
object
-
taskId:
integer()
Title:
Task ID
The Task identifier.
Examples
The following example shows how to submit a task to synchronize sales agreement contracts from Oracle Sales Contracts to CPQ by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X POST -H "Authorization: Bearer <token>" -H "Accept: application/json" https://sitename.oracle.com/rest/v19//pricingSetup/actions/syncWithFusionContracts
Request Body Sample
{ "contractIds": [300100579405289, 300100579405290, 300100579405300] }
Response Body Sample
{ "taskId": 3023059801 }
Get Fusion Contracts Synchronization Task Example
URI Endpoint Sample
https://sitename.oracle.com/rest/v19/tasks/3023059801
Response Body Sample
{ "id": 3023059801, "dateModified": "06/22/2023 4:14 AM", "links": [{ "rel": "self", "href": "http://sitename.oracle.com/rest/v19/tasks/3023059801" }, { "rel": "parent", "href": "http://sitename.oracle.com/rest/v19/tasks" }, { "rel": "child", "href": "http://sitename.oracle.com/rest/v19/tasks/3023059801/files" } ], "name": "OracleContractsSync", "category": { "lookupCode": "65", "displayValue": "Oracle Contracts Sync" }, "status": "Completed", "result": "Success", "executionTime": "06/22/2023 4:13 AM", "dateAdded": "06/22/2023 4:13 AM" }
Get All Fusion Contracts Synchronization Tasks Example
URI Endpoint Sample
https://sitename.oracle.com/rest/v19/tasks?q={name:'FusionContractsSync'}
Response Body Sample
{ "items": [{ "id": 3023059801, "dateModified": "06/22/2023 4:14 AM", "name": "OracleContractsSync", "category": { "lookupCode": "65", "displayValue": "Oracle Contracts Sync" }, "status": "Completed", "result": "Success", "executionTime": "06/22/2023 4:13 AM", "dateAdded": "06/22/2023 4:13 AM" }, { "id": 3023059797, "dateModified": "06/22/2023 4:06 AM", "name": "OracleContractsSync", "category": { "lookupCode": "65", "displayValue": "Oracle Contracts Sync" }, "status": "Completed", "result": "Success", "executionTime": "06/22/2023 4:05 AM", "dateAdded": "06/22/2023 4:05 AM" } ] }