Activity Forums Salesforce® Discussions How to query data through Standard API in Salesforce?

  • PRANAV

    Member
    May 31, 2018 at 10:37 am

    Hi Parv,
    The below will help you
    curl https://yourInstance.salesforce.com/services/data/v20.0/query/?q=SELECT+name+from+Account -H "Authorization: Bearer token"
    For more you can go through https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_query.htm

    Thanks

  • shariq

    Member
    September 20, 2018 at 6:40 pm

    Hi,

    Try this -

    API  url - https://yourInstance.salesforce.com/services/data/v20.0/query/?q=SELECT+field__c+from+sobject__c

    Header -  “Authorization: Bearer token

    Hope this helps/

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos