Export Transactions

post

/rest/v19/commerceDocumentsOraclecpqoTransaction/actions/_export_transactions

Use this endpoint to export selected data column values for all selected transactions in a zipped excel file.

Request

Supported Media Types
Body ()
Root Schema : commerceDocumentsOraclecpqoTransaction-_export_transactionsCollectionRequest
Type: object
Show Source
Nested Schema : Selection Query Definition
Type: object
Title: Selection Query Definition
Captures the query definition for resource requests, specifically for collection-based process actions.
Show Source
Nested Schema : fields
Type: array
Array of field names for display.
Show Source
Nested Schema : orderBy
Type: array
Array of field names, each optionally followed by asc or desc, that specifies the order of items filtered.
Show Source
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : commerceDocumentsOraclecpqoTransaction-_export_transactionsCollectionResponse
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 export 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 -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json"
https://sitename.oracle.com/rest/v19/commerceDocumentsOraclecpqoTransaction/actions/_export_transactions

Request Body Sample

{
  "selectionCriteria": {
    "search": "_my_approval_search",
    "orderby": ["_id:desc", "searchViewName:asc"],
    "fields": ["_id", "_lock_status", "bs_id", "processManagerFloat"]
  }
}

Response Body Sample

{
  "warnings": {},
  "fileUrl": "https://sitename.oracle.com/rest/v19/commerceExports/filename.zip"
}
Back to Top