Submit Fusion Contracts Synchronization Task

post

/rest/v16/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 Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : TaskResponseBean
Type: object
Show Source
Back to Top

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 -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16//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/v16/tasks/3023059801

Response Body Sample

{
  "id": 3023059801,
  "dateModified": "06/22/2023 4:14 AM",
  "links": [{
      "rel": "self",
      "href": "http://sitename.oracle.com/rest/v16/tasks/3023059801"
    }, {
      "rel": "parent",
      "href": "http://sitename.oracle.com/rest/v16/tasks"
    }, {
      "rel": "child",
      "href": "http://sitename.oracle.com/rest/v16/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/v16/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"
    }
  ]
}
Back to Top