Restore Archived Transactions

post

/rest/v19/commerceDocumentsOraclecpqoTransaction/actions/_restore_archived_transactions

Use this endpoint to restore the specified archived transactions. Note: This action is only available for CPQ administrators with superuser access.

Request

Supported Media Types
Body ()
Root Schema : commerceDocumentsOraclecpqoTransaction-_restore_archived_transactionsCollectionRequest
Type: object
Show Source
Nested Schema : Archived items selection Query Definition
Type: object
Title: Archived items selection Query Definition
Captures the transaction ids of archived transactions
Show Source
Nested Schema : ids
Type: array
Array of transaction ids.
Show Source
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : commerceDocumentsOraclecpqoTransaction-_restore_archived_transactionsCollectionResponse
Type: object
Back to Top

Examples

The following example shows how to restore the specified archived transactions by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X POST -H "Authorization: Bearer <token>" -H "Accept: application/json"
https://sitename.oracle.com/rest/v19/commerceDocumentsOraclecpqoTransaction/actions/_restore_archived_transactions

Request Body Sample

{
"selectionCriteria":{
"ids":[18007731,18007790,18005157]
}
}
Back to Top