Newer Version Available
Return Layout Headers for an Object With Multiple Record Types
Returns only the headers that are returned by a GET request to sObject Layouts
resources. This gives you a chance to see header values ahead of time before retrieving the
content of the resource.
- URI
- /services/data/vXX.X/sobjects/sObject/describe/layouts/recordTypeId.
- Formats
- JSON, XML
- HTTP Method
- HEAD
- Authentication
- Authorization: Bearer token
- Parameters
- None required
- Example for returning headers of request for an object with a specific record type defined
-
1curl -X HEAD https://MyDomainName.my.salesforce.com/services/data/v56.0/sobjects/Chocolate__c/describe/layouts/0125c000000oIN9AAM -H "Authorization: Bearer token"