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
Path Parameters
Body ()
Root Schema : Transaction-UnlockCollectionRequest
Type: object
Show Source
Nested Schema : selections
Type: array
Show Source
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Transaction-UnlockCollectionResponse
Type: object
Show Source
Nested Schema : warnings
Type: object
Title: warnings
warning messages
Show Source
Nested Schema : Messages
Type: array
Title: Messages
Array of messages that have been generated for a specific object.
Show Source
Back to Top

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

Back to Top