Cancel
post
/rest/v16/config{prodFamVarName}.{prodLineVarName}.{modelVarName}/actions/_cancel
This action is available during reconfiguration of the Model from Commerce Transaction. This action acts an Undo operation for reconfiguration. Upon successful execution of this action, the state of the latest configuration data is canceled or ignored and navigation returns to the Transaction.
Request
Supported Media Types
- application/json
Path Parameters
-
modelVarName(required): string
The variable name of a Model
-
prodFamVarName(required): string
The variable name of a Product Family
-
prodLineVarName(required): string
The variable name of a Product Line
Root Schema : cancelRequest
Type:
Show Source
object
-
cacheInstanceId(required):
string
Title:
Cache Instance Id
The unique identifier for the entry of configuration data stored in the cache. This is obtained from actions that launch configuration and passed along in subsequent actions.
Response
Supported Media Types
- application/json
Default Response
Root Schema : cancelResponse
Type:
Show Source
object
-
bsId:
integer
Title:
Buyside Identifier
Buyside Identifier -
destinationUrl:
string
Title:
Destination URL
Destination url. -
processId:
integer
Title:
Process Id
Process identifier.
Examples
The following example shows how to cancel or ignore the lastest configuration data by submitting a POST request to the REST resource using cURL.
curl -X POST -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json" https://sitename.oracle.com/rest/v16/configvision.servers.ultraPowerSolutionPackage/actions/_cancel
Request Body Sample
{ "cacheInstanceId": "DJy4zFjQqMgkfCXYAD9OgKf3Teyqcnvi3QtQ1nJICFjs2MsvNWecrsHJYw7sLKul" }
Response Body Sample
The following example shows the contents of the response body in JSON format:
{ "destinationUrl": "https://sitename.oracle.com/commerce/buyside/document.jsp", "bsId": 36738986, "processId": 36244034 }