-
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
How to Improve Patient Satisfaction with Clinic Management Software
Introduction Patient satisfaction has become a top priority for clinics, hospitals, and healthcare providers in the ever-evolving healthcare industry. Today’s patients expect seamless experiences, minimal…
Learn All About Objects and Fields in Salesforce | Salesforce Developer Guide
Objects Objects are database tables that allow us to store data and information specific to the organization in Salesforce. We can store data and information…
Why Choose a Data Analytics Course in Bangalore at AchieversIT
Introduction In today’s data-driven world, organizations rely heavily on data analytics to make informed business decisions, improve performance, and gain a competitive edge. As a…
Popular Salesforce Videos
Salesforce Integration with Heroku
You can integrate Heroku and the Salesforce Platform in several ways, and choosing among them comes down to understanding your requirements and the capabilities of…
Dreamforce 2021 Main Keynote - Welcome to the Trusted Enterprise | Salesforce
Today, every business has to transform to become a Trusted Enterprise. Join Marc Benioff & special guests to learn how Customer 360 helps businesses of…
How To Filter Salesforce Reports via URL Parameters - Learn Salesforce Series By Algoworks
How To Filter Salesforce Reports via URL Parameters In this video, the following points will be covered - 1. Introduction Get a brief introduction to…