-
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
Salesforce Apex Winter Release 21 - All You Need To Know
1. Before Apex Winter Release 21 batch limit for big objects using deleteImmediate() is 2,000 records at a time. Now we can delete up to…
Salesforce for Nonprofits – Don’t miss out on these amazing benefits
Giving back has been part of the DNA of Salesforce. Since inception, the Global tech giant has been on a mission to empower Nonprofits through…
Popular Salesforce Videos
Salesforce Data Archive along with Files
This video tries to explain the way true archive of records as well as the files in Salesforce. Archive files along with the DataArchiva, We…
Marketing Automation with Salesforce Journey Builder
Marketing Automation which is future of marketing can be simply understood as automating your marketing communication programs. we are going to talk about Salesforce Journey…
Salesforce Care Response Solution Demo
The Salesforce Care Response Solution is available at no cost to any emergency response teams, care management teams, health systems, health insurers, and other healthcare…