Terminate Asset

post

/rest/v19/assets/{id}/actions/terminate

This operation merges a termination request with the projected asset for the requested date, and then stores the results to a Configuration BOM Instance. For termination requests, the root item action code is set to Terminate and subordinate asset action codes are set to Delete.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : assets-terminateRequest
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : assets-terminateResponse
Type: object
Show Source
Nested Schema : ABO Headless Service Response.
Type: object
Title: ABO Headless Service Response.
Response Schema for ABO related actions which are used to create transaction line without launching configurator UI such as terminate, suspend, resume.
Show Source
  • Bom instance id also is asset-key for the newly created order line.
  • Transaction line identifier for the created line, for CPQ internal commerce process, it is line number, for external commerce application, it is config_id which can be used to construct the endpoint to access specific config instance.
Back to Top

Examples

The following example shows how to terminate an asset 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 "Content-type: application/json" -H "Accept: application/json"
https://sitename.oracle.com/rest/v19/assets/36562516/actions/terminate

Request Body Sample

{
   "sourceIdentifier": "oraclecpqo",
   "transactionDate": "2025-04-14",
   "transactionId": ""
}

Response Body Sample

{
    "result": {
        "bomkey": "BOM_SupremoIndividualItems",
        "linenum": "2"
    },
    "resultTransactionId": "36562570"
}
Back to Top