Copy Sequence

post

/rest/v16/commerceDocuments{ProcessVarName}{MainDocVarName}/actions/_copy_sequence

Use this endpoint to retrieve copy sequences for the Commerce process.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : Transaction-_copy_sequenceCollectionRequest
Type: object
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Transaction-_copy_sequenceCollectionResponse
Type: object
Show Source
Nested Schema : sequences
Type: array
Title: sequences
sequences
Show Source
Nested Schema : sequenceDef
Type: object
Title: sequenceDef
sequenceDef
Show Source
Back to Top

Examples

The following example shows how to retrieve copy sequences for the Commerce process 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 "Accept: application/json"
https://sitename.oracle.com/rest/v16/commerceDocumentsOraclecpqoTransaction/actions/_copy_sequence

Response Body Sample

{
  "sequences": [{
      "name": "sequence 1",
      "id": 38736650,
      "order": 1,
      "description": "",
      "modifiedDate": "Mon May 06 21:55:11 UTC 2024"
    }
  ]
}
Back to Top