Commerce Process Setup REST API Endpoints
Overview
These REST API endpoints provide web service support for administrative tasks associated with managing processes.
Administration
https://sitename.oracle.com/rest/v19/commerceProcessSetups
{ "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 }
{ "processId": 12312 }
Get Commerce Process Auto-Unlock Actions
|
Description |
Use this endpoint to retrieve actions that automatically unlock the specified commerce process. |
|
|---|---|---|
|
URI Endpoint |
/rest/v19/commerceProcessSetups/{processVarName}/autoUnlockActions |
|
|
Endpoint Parameters |
processVarName |
Process variable name |
|
HTTP Method |
GET |
|
|
Request Body Parameters |
None |
|
| Response Body Parameters |
An array of auto-unlock actions |
|
|
id |
Auto-unlock action Id |
|
|
label |
Auto-unlock action label |
|
|
selected |
Indicates if the auto-unlock action is selected |
|
|
variableName |
Auto-unlock action variable name |
|
https://sitename.oracle.com/rest/v19/commerceProcessSetups/oraclecpqo/autoUnlockActions
{ "items": [ { "id": 3023136164, "label": "Revise Quote", "variableName": "_s_request_quote_revision", "selected": false }, { "id": 3022962141, "label": "Save", "variableName": "cleanSave_t", "selected": false }, { "id": 3023317342, "label": "Self Service Checkout", "variableName": "_s_selfServiceCheckout", "selected": false }, { "id": 3022962823, "label": "Update Asset", "variableName": "updateAsset", "selected": false }, { "id": 3023317346, "label": "Update Price Guidance", "variableName": "_s_updatePriceGuidance_t", "selected": false }, { "id": 3022962757, "label": "Update SFA", "variableName": "oRCL_SFA_UpdateOpportunity", "selected": false } ] }
Invoke a Commerce Deployment Center Action
https://sitename.oracle.com/rest/v19/commerceProcessSetups/oraclecpqo/deploymentCenter/actions
Deploy Process Sample
{ "emailTo": "abcd@oracle.com", "sendEmail": true, "category": "DEPLOY_PROCESS", "scheduledTime": "12/06/2024 6:09 AM" }
Clone Process Sample
{ "emailTo": "abcd.abcd@oracle.com", "sendEmail": true, "category": "CLONE_PROCESS", "scheduledTime": "12/06/2024 6:09 AM" }
Repopulate Data Columns Sample
{ "emailTo": "abcd.abcd@oracle.com", "sendEmail": true, "category": "REPOPULATE_COLUMN_DATA", "scheduledTime": "12/06/2024 6:09 AM" }
Remove Transactions Sample
{ "emailTo": "abcd.abcd@oracle.com", "sendEmail": true, "category": "REMOVE_TRANSACTION", "scheduledTime": "12/06/2024 6:09 AM" }
Mass Update Transactions Sample
{ "emailTo": "abcd.abcd@oracle.com", "sendEmail": true, "category": "MASS_UPDATE_TRANSACTIONS", "scheduledTime": "12/06/2024 6:09 AM", "stepIds": "123456,234564,987654" }
Export Process Sample
{ "category": "BULK_DOWNLOAD" }
Delete Process Sample
{ "emailTo": "abcd.abcd@oracle.com", "sendEmail": true, "category": "DELETE_PROCESS", "scheduledTime": "12/06/2024 6:09 AM" }
Generate Schema and WSDL Sample
{ "category": "GENERATE_SCHEMA_AND_WSDL" }
{ taskId: 12345678 }
https://sitename.oracle.com/rest/v19/commerceProcessSetups/oraclecpqo
payload: // JSON as text
{
"transactionEditingMode": 1,
"stage": 3,
"deleteSecureAttributeEncryptionKey": false,
"blockAutofill": 2,
"continueOnTimeout": 1,
"nonOwnerUnlock": true,
"fiscalYearStartDate": "02/29",
"initialImports": [
12321
],
"autoUnlockActionIds": [
1234,
2345
],
"description": "Description is changed",
"layoutOptions": {
"generationRequested": 1,
"layoutAccess": [{
"layoutType": 0,
"priority": 3,
"enabled": true
}, {
"layoutType": 1,
"priority": 2,
"enabled": true
}, {
"layoutType": 2,
"priority": 1,
"enabled": true
}
]
}
},
resultFile: "test.cer", // File expected
{ "processId": 12312 }









