Newer Version Available
Tooling API Examples
To retrieve information about fields created with Custom Address Fields, such as the
developer name, use Tooling API.
Get Information About a Custom Address Field on a Record
This example uses the CustomField REST HTTP
GET method to retrieve information about the Mailing_Address__c custom address field, with
the CustomField ID 00NXXXXXXXXXXXXXXX.
- HTTP GET example to retrieve information about a custom address field on a record
-
- Example response
-
Query Information About a Custom Address Field on a Record
This example uses the CustomField REST HTTP
Query method to retrieve the developer name of the Mailing_Address__c custom address field
with CustomField ID 00NXXXXXXXXXXXXXXX.
- Example query to retrieve the DeveloperName for a custom address field
-
- HTTP Query example to retrieve information using the query
-
- Example response
-