-
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
Successful Salesforce User Adoption in 2024: Strategies and Red Flags
Early in the Salesforce adoption stages, 90% of companies are promised streamlined workflows, comprehensive insights, and seamless operations regardless of location. However, CRM systems implemented…
Top 11 Extensions for Salesforce Developers
Extensions are computer programs that let users personalize their Chrome surfing experience. They are created using web technologies like HTML, CSS, and JavaScript. documentation for…
Upcoming Salesforce Events and Releases - 2021
Every year Salesforce comes up with an extravagant and magnificent series of events and 2021 is no different. A lot of exciting events and releases…
Popular Salesforce Videos
Getting to Know Einstein Analytics
Einstein Analytics is an app used to visualize the activity occurring in your Salesforce environment. Whether you use Salesforce for Sales, Marketing, or Service, this…
Lead Process in Salesforce | How To Manage Leads in Salesforce Sales Cloud?
Leads are potential customers who have expressed interest in your product or service but haven't made a purchase yet. They're like the starting point of…
How to Create an Object in Salesforce Lightning Experience?
Salesforce has always emphasized on declarative development since the beginning. The motto is that enterprise software should be easy to use for customers. With “clicks…