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 IdsIds of auto unlock actions -
blockAutofill:
integer()
Title:
Block Auto FillBlock Auto Fill -
continueOnTimeout:
integer()
Title:
Continue On TimeoutContinue On Timeout -
deleteSecureAttributeEncryptionKey:
boolean()
Title:
Delete Secure Attribute Encryption KeyDelete Secure Attribute Encryption Key -
description:
string()
Title:
DescriptionDescription -
fiscalDayOffset:
integer()
Title:
Fiscal Day OffsetFiscal Day Offset -
fiscalMonthOffset:
integer()
Title:
Fiscal Month OffsetFiscal Month Offset -
fiscalYearStartDate:
string()
Title:
Fiscal Year Start DateFiscal Year Start Date -
initialImports:
array Initial Imports
Title:
Initial ImportsInitial imports -
layoutOptions:
Layout Options
Title:
Layout OptionsLayout options available for the process -
nonOwnerUnlock:
boolean()
Title:
Non Owner UnlockNon owner unlock -
pageLength:
integer()
Title:
Page LengthPage Length -
processName:
string()
Title:
IDID of process -
stage:
integer()
Title:
StageStages selected -
tabLabelDataMapId:
integer()
Title:
Tab Label Data Map IdTab Label Data Map Id -
transactionEditingMode:
integer()
Title:
Transaction Editing ModeTransaction Editing Mode -
type:
integer()
Title:
TypeType -
useRedwoodForTxnsList:
boolean()
Title:
Use Redwood for transactions listWhether to use redwood layout for transactions list -
variableName:
string()
Title:
Variable NameVariable Name
Nested Schema : Auto Unlock Action Ids
Type:
arrayTitle:
Auto Unlock Action IdsIds of auto unlock actions
Show Source
Nested Schema : Layout Options
Title:
Layout OptionsLayout 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 requestedGeneration requested -
layoutAccess:
array Layout Access
Title:
Layout AccessProcess layout access
Nested Schema : CmAdminProcessLayoutAccessModel
Type:
Show Source
object-
enabled:
boolean()
Title:
EnabledEnabled -
layoutType:
integer()
Title:
LayoutTypeLayoutType -
priority:
integer()
Title:
PriorityPriority
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
}