Create a Commerce Process

post

/rest/v19/commerceProcessSetups

Use this endpoint to create a Commerce Process.

Request

Supported Media Types
Body ()
Root Schema : CmAdminProcessRequestModel
Type: object
Show Source
Nested Schema : Auto Unlock Action Ids
Type: array
Title: Auto Unlock Action Ids
Ids of auto unlock actions
Show Source
Nested Schema : Initial Imports
Type: array
Title: Initial Imports
Initial imports
Show Source
Nested Schema : Layout Options
Title: Layout Options
Layout options available for the process
Match All
Layout options available for the process
Show Source
Nested Schema : CmAdminProcessLayoutOptionsModel
Type: object
Show Source
Nested Schema : Layout Access
Type: array
Title: Layout Access
Process layout access
Show Source
Nested Schema : CmAdminProcessLayoutAccessModel
Type: object
Show Source
Back to Top

Response

Supported Media Types

201 Response

Success
Back to Top

Examples

The following example shows how to create a Commerce Process 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"
https://sitename.oracle.com/rest/v19/commerceProcessSetups

Request Body Samples

{
  "processName": "Test new blank process",
  "description": "process description",
  "variableName": "testNewBlankProcess",
  "pageLength": 30,
  "blockAutofill": 1,
  "type": 1,
  "fiscalYearStartDate": "12/30",
  "transactionEditingMode": 1,
  "nonOwnerUnlock": 0,
  "useRedwoodForTxnsList": true,
  "stage": 0
}

Response Body Sample

{
  "processId": 12312
}
Back to Top