Pricing Synchronization Task REST APIs
Overview
These endpoints support pricing synchronization tasks.
Administration
Submit Fusion Contracts Synchronization Task
Description |
Use this endpoint to submit a task to synchronize sales agreement contracts from Oracle Sales Contracts to CPQ. |
|
---|---|---|
URI Endpoint |
/rest/v17/pricingSetup/actions/syncWithFusionContracts |
|
Endpoint Parameters |
None |
|
HTTP Method |
POST |
|
Request Body Parameters |
contractIds |
(optional) An array of Contract Ids to synchronize |
Response Body Parameters |
taskId |
The task Id for the Fusion Contracts Synchronization task.
|
https://sitename.oracle.com/rest/v17/pricingSetup/actions/syncWithFusionContracts
{ "contractIds": [300100579405289, 300100579405290, 300100579405300] }
{ "taskId": 3023059801 }
Get Fusion Contracts Synchronization Task Example
URI Endpoint Sample
http://sitename.oracle.com/rest/v17/tasks/3023059801
Sample Response Body
{ "id": 3023059801, "dateModified": "06/22/2023 4:14 AM", "links": [{ "rel": "self", "href": "http://sitename.oracle.com/rest/v17/tasks/3023059801" }, { "rel": "parent", "href": "http://sitename.oracle.com/rest/v17/tasks" }, { "rel": "child", "href": "http://sitename.oracle.com/rest/v17/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 Fusion Contracts Synchronization Tasks Example
URI Endpoint Sample
http://sitename.oracle.com/rest/v17/tasks?q={name:'FusionContractsSync'}
Sample Response Body
{ "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" } ] }
Submit Fusion Pricing Synchronization Task
Description |
Use this endpoint to submit a task to synchronize pricing definitions from CPQ to Oracle Fusion Pricing. |
|
---|---|---|
URI Endpoint |
/rest/v17/pricingSetup/actions/syncWithFusionPricing |
|
Endpoint Parameters |
None |
|
HTTP Method |
POST |
|
Request Body Parameters | None | |
Response Body Parameters |
taskId |
The task Id for the Fusion Pricing Synchronization task.
|
https://sitename.oracle.com/rest/v17/pricingSetup/actions/syncWithFusionPricing
{ "taskId": 3023059801 }
Get Fusion Pricing Synchronization Task Example
URI Endpoint Sample
http://sitename.oracle.com/rest/v17/tasks/3023059801
Sample Response Body
{ "id": 3023059801, "dateModified": "06/22/2023 4:14 AM", "links": [{ "rel": "self", "href": "http://sitename.oracle.com/rest/v17/tasks/3023059801" }, { "rel": "parent", "href": "http://sitename.oracle.com/rest/v17/tasks" }, { "rel": "child", "href": "http://sitename.oracle.com/rest/v17/tasks/3023059801/files" } ], "name": "FusionPricingSync", "category": { "lookupCode": "63", "displayValue": "Fusion Pricing Sync" }, "status": "Completed", "result": "Success", "executionTime": "06/22/2023 4:13 AM", "dateAdded": "06/22/2023 4:13 AM" }
Get Fusion Pricing Synchronization Tasks Example
URI Endpoint Sample
http://sitename.oracle.com/rest/v17/tasks?q={name:'FusionPricingSync'}
Sample Response Body
{ "items": [{ "id": 3023059801, "dateModified": "06/22/2023 4:14 AM", "name": "FusionPricingSync", "category": { "lookupCode": "63", "displayValue": "Fusion Pricing 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": "FusionPricingSync", "category": { "lookupCode": "63", "displayValue": "Fusion Pricing Sync" }, "status": "Completed", "result": "Success", "executionTime": "06/22/2023 4:05 AM", "dateAdded": "06/22/2023 4:05 AM" } ] }