Create a Commerce Process
post
/rest/v19/commerceProcessSetups
Use this endpoint to create a Commerce Process.
Request
Supported Media Types
- application/json
Root Schema : CmAdminProcessRequestModel
Type:
Show Source
object
-
autoUnlockActionIds:
array Auto Unlock Action Ids
Title:
Auto Unlock Action Ids
Ids of auto unlock actions -
blockAutofill:
integer()
Title:
Block Auto Fill
Block Auto Fill -
continueOnTimeout:
integer()
Title:
Continue On Timeout
Continue On Timeout -
deleteSecureAttributeEncryptionKey:
boolean()
Title:
Delete Secure Attribute Encryption Key
Delete Secure Attribute Encryption Key -
description:
string()
Title:
Description
Description -
fiscalDayOffset:
integer()
Title:
Fiscal Day Offset
Fiscal Day Offset -
fiscalMonthOffset:
integer()
Title:
Fiscal Month Offset
Fiscal Month Offset -
fiscalYearStartDate:
string()
Title:
Fiscal Year Start Date
Fiscal Year Start Date -
initialImports:
array Initial Imports
Title:
Initial Imports
Initial imports -
layoutOptions:
Layout Options
Title:
Layout Options
Layout options available for the process -
nonOwnerUnlock:
boolean()
Title:
Non Owner Unlock
Non owner unlock -
pageLength:
integer()
Title:
Page Length
Page Length -
processName:
string()
Title:
ID
ID of process -
stage:
integer()
Title:
Stage
Stages selected -
tabLabelDataMapId:
integer()
Title:
Tab Label Data Map Id
Tab Label Data Map Id -
transactionEditingMode:
integer()
Title:
Transaction Editing Mode
Transaction Editing Mode -
type:
integer()
Title:
Type
Type -
useRedwoodForTxnsList:
boolean()
Title:
Use Redwood for transactions list
Whether to use redwood layout for transactions list -
variableName:
string()
Title:
Variable Name
Variable Name
Nested Schema : Auto Unlock Action Ids
Type:
array
Title:
Auto Unlock Action Ids
Ids of auto unlock actions
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:
Show Source
object
-
generationRequested:
integer()
Title:
Generation requested
Generation requested -
layoutAccess:
array Layout Access
Title:
Layout Access
Process layout access
Nested Schema : CmAdminProcessLayoutAccessModel
Type:
Show Source
object
-
enabled:
boolean()
Title:
Enabled
Enabled -
layoutType:
integer()
Title:
LayoutType
LayoutType -
priority:
integer()
Title:
Priority
Priority
Response
Supported Media Types
- application/json
201 Response
Success
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 }