Activity Forums Salesforce® Discussions how to handle access_token in Rest API Call with JSON in Salesforce?

  • PRANAV

    Member
    January 22, 2018 at 3:11 pm

    Hi Rahul,

    What I understand from your query is that you want to store some of your response data, so that you can use it for your further request. So for doing this, Either you can store these data in a Custom Object with different custom fields as per your requirements (LIKE: token_type, access_token, expires_in, etc) Or you can store this in a Custom Setting with different custom fields in it. In that way you can able store the data and easily get those data via query on that.

    And if your are doing your further code in same transaction in same class then you can handle this in your code also as by storing these response data in different variables.

    Hope this helps you.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos