Unlock Transactions
post
/rest/v16/commerceDocuments{ProcessVarName}{MainDocVarName}/actions/_process_unlock
Use this endpoint to unlock the specified transactions that are locked for editing.
Request
Supported Media Types
- application/json
Path Parameters
-
MainDocVarName(required): string
The variable name of the main document, note the first letter must be capitalized.
-
ProcessVarName(required): string
The variable name of the commerce process, note the first letter must be capitalized.
Response
Supported Media Types
- application/json
Default Response
Root Schema : Transaction-UnlockCollectionResponse
Type:
Show Source
object
-
warnings:
object warnings
Title:
warnings
warning messages
Nested Schema : warnings
Type:
object
Title:
warnings
warning messages
Show Source
-
messages:
array Messages
Title:
Messages
Array of messages that have been generated for a specific object.
Nested Schema : Messages
Type:
array
Title:
Messages
Array of messages that have been generated for a specific object.
Show Source
-
Array of:
string
warning message.
Examples
The following example shows how to unlocks the specified Commerce transactions by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X POST -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v16/commerceDocumentsOraclecpqoTransaction/actions/_process_unlock
Request Body Sample
{ "selections": [3022127625, 3022127628, 3022127629] }
Sucess Response: 200