function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sbaa2012sbaa2012 

How to get the fieldid by rest API

Hi All

I am a new developer. I want to get the detail objects field's id by rest api.

But I can't find it.

I think SOAP api can do this,right?

 

With rare exceptions, all objects in the API have a field of type ID that is named Id

 and contains a unique identifier for each record in the object. It is analogous to a primary key in relational databases. 

ID fields in the Salesforce user interface contain 15-character, base-62, case-sensitive strings. Each of the 15 characters can be a numeric digit (0-9), a lowercase letter (a-z), or an uppercase letter (A-Z). Two unique IDs may only be different by a change in case.