Composer API Requests without Salesforce SessionID Feature
{
"SalesforceRequest": {
"MasterId": "0013i000004JbNB",
"ServerUrl": "https://conga300-dev-ed.my.salesforce.com/services/Soap/u/50.0/00D3i000000q2Jz",
"TemplateId": "0T_000EAI814163"
}
}Prerequisites
Before sending the request, a Salesforce connection must be established in the Composer settings page. In order to establish this connection, refer to the instructions found in Configuring Composer Platform Integrations.
Sandbox Flag
{
"SalesforceRequest": {
"MasterId": "0013i000004JbNB",
"ServerUrl": "https://conga300-dev-ed.my.salesforce.com/services/Soap/u/50.0/00D3i000000q2Jz",
"TemplateId": "0T_000EAI814163",
"UseSandbox": true
}
}Error Responses
{
"errors": [
{
"statusCode": 400,
"type": "BadRequest",
"message": "No connection is found. Please create Salesforce connection in Composer Settings UI. Or alternatively you can provide SessionId and ServerUrl in SalesforceRequest object in the payload."
}
]
}In a Sandbox environment, you will see the following error message: {
"errors": [
{
"statusCode": 400,
"type": "BadRequest",
"message": "No connection is found. Please create Salesforce Sandbox connection in Composer Settings UI. Or alternatively you can provide SessionId and ServerUrl in SalesforceRequest object in the payload."
}
]
}
