Modify Asset

post

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

This operation calculates the projected state of the asset for the requested date and returns a configuration URL that can be used to launch the model configurator page reflecting the projected state.

Request

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

Response

Supported Media Types

Default Response

Body ()
Root Schema : assets-modifyResponse
Type: object
Show Source
Nested Schema : ABO Interactive Service Response.
Type: object
Title: ABO Interactive Service Response.
Response Schema for ABO related actions which are used to launch configurator UI such as modify, reconfig, followonOrder
Show Source
  • The instance id for the bom instance calculated by ABO process, this is needed to pass to configurator as url parameter as configurator will only use the bom if the bom instance id inside match the passed in bom key.
  • Context key passed to configurator session to retrieve bom instance being calculated by ABO process.
  • URL to launch configurator with the BOM instance calculated by ABO process.
  • Model variable name for the model to launch configurator ui.
  • Product line variable name for the model to launch configurator ui.
  • Segment variable name for the model to launch configurator ui.
Back to Top

Examples

The following example shows how to calculate the projected state of the asset for the requested date and returns a configuration URL that can be used to launch the model configurator page reflecting the projected state 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/modify

Request Body Sample

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

Response Body Sample

{
  "result": {
    "product_line": "sUPREMOPOWERGENERATION",
    "configContextKey": "5db6ea65-43bc-48a9-a339-38fa73674f23",
    "bomkey": "BOM_SupremoIndividualItems",
    "configuratorURL": "http://sitename.oracle.com/commerce/new_equipment/products/model_configs.jsp?_from_punchin=true&actionVarName=addLineItem_t&id=3025610365&product_line=sUPREMOPOWERGENERATION&model=sUPREMOPOWERGENERATIONPACKAGE&segment=sUPREMO&bm_sales_root_bom_item_id=BOM_SupremoIndividualItems&configContextKey=5db6ea65-43bc-48a9-a339-38fa73674f23",
    "segment": "sUPREMO",
    "model": "sUPREMOPOWERGENERATIONPACKAGE"
  },
  "resultTransactionId": "3025610365"
}
Back to Top