Coresmen - OrchestratorService
Description
This REST service handles Orchestrator Service requests.
Definition
POST {{Org_URL}}/services/apexrest/q2adapters/invokeOrchestratorService
Authentication Type
Basic Salesforce Auth 2.0
See this link for SFDC Documentation: https://help.salesforce.com/articleView?id=remoteaccess_oauth_web_server_flow.htm&type=5
Parameters
Request Header Parameters
The following table provides the details of the request header parameters used by this web service:
Key | Value |
---|---|
Content-Type | application/JSON |
charset | UTF-8 |
Accept | application/JSON |
Request Body Parameters
The following table provides the details of the request body parameters used by this web service:
Field Name | Type |
---|---|
orchestratorId | String |
configNameToIdsMap | Object |
sourceId | String |
Error Messages
When you use this web service you can receive the possible error messages as shown in the following table:
Status Code | Error Message |
---|---|
500 | Internal server error |
Sample Request
The sample request to be sent is as shown in the following block:
{ "orchestratorId": "a556tyh000bqoUEAV", "configNameToIdsMap": { "updateCollateralConfig": ["a556tyh000bqoUEAQ", "a556tyh000bqoUEAR"], "createCollateralConfig": ["a556tyh000bqoUEAS", "a556tyh000bqoUEAT"] }, "sourceId": "a556tyh000bqoUEAU" }