Create record using Salesforce REST API with Record Type Name in the Payload
1. Create a Connected App for REST API. 2. Get the token by doing a POST request. 3. Do a POST request to create a record using the access token ....
1. Create a Connected App for REST API. 2. Get the token by doing a POST request. 3. Do a POST request to create a record using the access token ....
Path:/services/data/v53.0/quickActions/SendEmail HTTP Method:POST Body:{ "contextId" : "001D000000JRSGf", "record": { "HtmlBody": "<div+style="font-family:+Arial;+font-size:+14px;">Test</div>", "Subject": "InfallibleTechie", "ToIds": ["0038c00002bkSPZAA2"] }} Example: Output:
The following exception occurs when SendEmail from Case object is used and contextId is not passed. To resolve the issue, please add contextId to the POST body.message: performQuickAction for Case.SendEmail ....
Enable "Email-To-Case".Path:/services/data/v53.0/sobjects/Case/quickActions/SendEmail HTTP Method:POST Body:{ "contextId": "5008c00001Ejue0AAB" "record": { "HtmlBody": "<div+style="font-family:+Arial;+font-size:+14px;">Test</div>", "Subject": "InfallibleTechie", "ToIds": ["0038c00002bkSPZAA2"] }} Example: Output:
We can use emailSimple REST API to send emails from Salesforce platform. Path: /services/data/v53.0/actions/standard/emailSimple HTTP Method: POST Body: { "inputs" : [ { "emailBody" : "Email body", ....
Sample Code: @RestResource(urlMapping='/InboundRESTAPI/*') global with sharing class InboundRESTAPIController { @HttpGet global static Account fetchAccount() { RestRequest req = RestContext.request; Map < String, String > ....
End Point URL: https://yourInstance.salesforce.com/services/data/v52.0/sobjects/ObjectAPIName/ExternalIdFieldAPI Name/ExternalIdValue Example: https://infallibletechie5-dev-ed.my.salesforce.com/services/data/v51.0/sobjects/Employee__c/Email__c/[email protected] Workbench: Reference Article - https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/using_resources_retrieve_with_externalid.htm To use Postman client, use the below steps. 1. Create a Connected App. Update the Callback URL as ....
Composite Graph in Salesforce Composite Graph in Salesforce is similar to Composite Request. But, this has higher limit. Powerful API request to avoid multiple API calls to Salesforce. Regular composite ....
Executes up to 25 subrequests in a single request. The response bodies and HTTP statuses of the subrequests in the batch are returned in a single response body. Each subrequest ....
Composite API improves the REST API call performance. It avoids multiple round trips to a server. Instead, it makes a single call with multiple subrequests. allOrNone The request body uses ....