-
how to handle access_token in Rest API Call with JSON in Salesforce?
HI,
i have get access_token, "token_type", "expires_in", "scope", "no_of_active_sessions" ,"redirect_uri", "status" ,"errorMessage" in response after call login API with post method (Rest API Call with JSON).
Now i need to store the access_token & token_type in string variables and create the consignment(case) API with post method and pass Authorization: token_type+" "+ access_token in header and request with some fields like Consignment numbers, pincode, weight and etc.
and get response with error(Boolean), errorMessage(String) & cnote(String)
how to handle this code?
Log In to reply.
Popular Salesforce Blogs
Why Your Company Needs a CRM to Grow Better? | Salesforce
A customer relationship management (CRM) system is a valuable tool for any business, regardless of size or industry. By bringing together customer data and interactions…
Switching to Salesforce Lightning and Overcoming Challenges
Time is of the essence in a saturated business landscape, and getting ahead of the competition gives your company enough edge to thrive despite the…
Email Alert Through Flow Element | Salesforce Guide
There are two ways to send an Email Alert to anyone. 1. Standard Email Alert: In this type of email alert, we have to…
Popular Salesforce Videos
After Triggers | Trigger in Salesforce - Part 2
In this video, we are going to look into - After Trigger with Example, Our Scenario is - For After Insert Whenever my account record…
Approval Process In Salesforce | Salesforce Development Tutorial
Approval process in Salesforce. This video will cover the following points - 1. Approval Process Learn how to create an approval process. 2. Manage Approval…
Understanding Leads, Accounts, Contact, Opportunities, Products, Pricebooks objects in Sales Cloud
In this video, I have explained how Salesforce SalesCloud can boost your companies productivity. Some Important object of Sales Cloud : 1. Campaign 2. Lead…