Newer Version Available
Supported Objects
To get a directory of objects that are supported by the API and accessible to the context user, use the /ui-api/object-info resource.
To understand how the API operates on supported objects, let’s look at some examples.
This resource gets object metadata. It operates on any supported
object.
1GET /ui-api/object-info/{objectApiName}This example gets Account
metadata.
1GET /ui-api/object-info/AccountThis resource gets record data and metadata. It operates on any supported object record.
1GET /ui-api/record-ui/{recordIds}This example gets data and metadata to display an Opportunity
record.
1GET /ui-api/record-ui/006RM000002XCd1YAGMost User Interface API resources support these objects. The list views and most recently
used list views resources support smaller sets of objects. For a list of all supported
objects, see All Supported Objects.
- Supported Objects for List Views
- These list views resources support a subset of objects.
- /ui-api/list-ui/${objectApiName}
- /ui-api/list-info/${listViewId} and /ui-api/list-info/${objectApiName}/${listViewApiName}
- /ui-api/list-records/${listViewId} and /ui-api/list-records/${objectApiName}/${listViewApiName}
- /ui-api/list-ui/${listViewId} and /ui-api/list-ui/${objectApiName}/${listViewApiName}
For a list of supported objects for list views, see List View Supported Objects.
- Supported Objects for MRU List Views
- These MRU list views resources support a subset of objects.
- /ui-api/mru-list-info/${objectApiName}
- /ui-api/mru-list-records/${objectApiName}
- /ui-api/mru-list-ui/${objectApiName}
For a list of supported objects for list views, see Most Recently Used List View Supported Objects.
- These examples show information about the related lists associated with an object. If
there are no related lists for an object, you see a valid response of zero lists.
Related lists resources support all UI API supported objects listed in All Supported Objects.
- /ui-api/related-list-records/${parentRecordId}/${relatedListId}
- /ui-api/related-list-records/batch/${parentRecordId}/${relatedListIds}
- /ui-api/related-list-count/${parentRecordId}/${relatedListId}
- /ui-api/related-list-count/batch/${parentRecordId}/${relatedListIds}
- /ui-api/related-list-info/${parentObjectApiName}
- /ui-api/related-list-info/${parentObjectApiName}/${relatedListId}
- /ui-api/related-list-info/batch/${parentObjectApiName}/${relatedListIds}