Get Salesforce Account fields

I use specifications using the Salesforce API. I searched so much but did not find a list of fields that I could get using the GET method. Can someone provide me with a link that gives me this list, please?

I just found this link https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_get_field_values.htm

thank

0
source share
1 answer

You need to use the “describe” call. It will return a list of all the objects that the user can see in org , and it will contain links on how to get more detailed information about all the fields on the account . (you can go directly to the description of the account, if you want, the links are built in a predictable template)

“Describes” is limited to what your profile can see, if the profile does not have a “Read” flag on any object, it will not be displayed in the results.

Go to https://workbench.developerforce.com for example and experiment (from the menu, select Utilities → REST explorer)

  • A basic call that lists all the APIs available to you: /services/data/v41.0
  • sObjects : /services/data/v41.0/sobjects
  • , : /services/data/v41.0/sobjects/Account/describe

enter image description here

enter image description here

+1

Source: https://habr.com/ru/post/1693014/


All Articles