Create a Commerce Process
post
/rest/v19/commerceProcessSetups
Use this endpoint to add 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 IdsActions that automatically unlock a Transaction when performed by the user who locked the Transaction. -
blockAutofill:
integer()
Title:
Block AutofillSelect from the provided autofill options: Account Information, User Information, None -
continueOnTimeout:
integer()
Title:
Continue On TimeoutContinue On Timeout -
deleteSecureAttributeEncryptionKey:
boolean()
Title:
Delete Secure Attribute Encryption KeyDelete the public key used for encrypting secure attributes. -
description:
string()
Title:
DescriptionProcess description -
fiscalYearStartDate:
string()
Title:
Fiscal Year Start DateMonth/Day Fiscal year start date for reporting. -
initialImports:
array Initial Imports
Title:
Initial ImportsInitial imports -
layoutOptions:
Layout Options
Title:
Layout OptionsLayout options available for the process -
nonOwnerUnlock:
boolean()
Title:
Non Owner UnlockLets users who did not lock a Transaction to unlock the Transaction using Document-level Unlock Actions. -
pageLength:
integer()
Title:
Page LengthDetermines the number of transactions to show at a time. -
processName:
string()
Title:
IDID of process -
stage:
integer()
Title:
StageEnables/Disables Stages for transactions -
tabLabelDataMapId:
integer()
Title:
Tab Label Data Map IdTab Label Data Map Id -
transactionEditingMode:
integer()
Title:
Transaction Editing ModeModes: Collaborative Editing, Transaction Locking, Single User -
type:
integer()
Title:
TypeProcess Type: Standard or Blank process -
useRedwoodForTxnsList:
boolean()
Title:
Use Redwood for transactions listQuote List Layout preference -
variableName:
string()
Title:
Variable NameVariable Name of the process
Nested Schema : Auto Unlock Action Ids
Type:
arrayTitle:
Auto Unlock Action IdsActions that automatically unlock a Transaction when performed by the user who locked the Transaction.
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
}