-
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
This Week’s Top Stories: Salesforce Updates Sales Cloud Features
Salesforce has recently announced a slew of new Sales Cloud features that aim to simplify administrative tasks for sales reps. According to a Salesforce report,…
What is Salesforce Managed Services? Why Business Using Salesforce CRM Needs Salesforce Managed Services?
Salesforce is the global leader in the CRM industry for more than a decade. Salesforce is the world's first online & real-time CRM. It allows…
Campaigns now come to Lightning. But I have got issues
Salesforce Lightning Experience was launched in Winter16 release almost 6 months back. And even after that much time i am still clinging on to Classic…
Popular Salesforce Videos
Tips to Crack the Salesforce Administrator Certification Exam in One Go
Do you want to become Salesforce administrator certified? So in this video Shrey has shared the important topics to crack the Salesforce Administrator Exam. Watch…
Learn About the Salesforce Products in this Tutorial Video
Salesforce is a top-rated CRM that offers businesses a diverse range of products to enhance their business model and operations. With each Salesforce product specifically…
Real Time Synchronization between Salesforce and Quickbooks | eShopSync for Quickbooks
Now you can easily sync your data between Quickbooks and Salesforce through Real-Time Synchronization Feature, which allows you to import data from Salesforce to Quickbooks.…