Terminate an Asset
post
/rest/v7/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
Path Parameters
-
id: integer
Primary Key of Asset Resource.
Root Schema : Service-request
Type:
Show Source
object
-
sourceIdentifier(optional):
string
Title:
Source Identifier
The variable name of the commerce process or external application identifier. -
transactionDate(optional):
string
Title:
Transaction Date
The date and time on which the service request was made. -
transactionId(optional):
string
Title:
Transaction Id
The current transaction identifier.
Response
Default Response
Root Schema : Service-response
Type:
Show Source
object
-
bomkey(optional):
string
BOM instance id also is asset-key for the newly created order line.
-
lineId(optional):
string
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.