Cancel
post
/rest/v7/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
Root Schema : prodFamVarName.prodLineVarName.modelVarName-_cancelRequest
Type:
Show Source
object-
cacheInstanceId:
string
Title:
Cache Instance IdThe 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 : prodFamVarName.prodLineVarName.modelVarName-_cancelResponse
Type:
Show Source
object-
bsId(optional):
integer
Title:
Buyside IdentifierBuyside Identifier -
destinationUrl(optional):
string
Title:
Destination URLThe source identified by the action that launched the Configuration or Transaction. -
processId(optional):
integer
Title:
Process IdProcess 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/v7/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
}