Newer Version Available

This content describes an older version of this product. View Latest

Get Related List Record Count

Returns the record count for a related list.
Resource
1/ui-api/related-list-count/${parentRecordId}/${relatedListId}
  • parentRecordId—The ID of the record you want to get related lists for.
  • relatedListId—The ID of a supported related list for that object.
Available Version
50.0
HTTP Method
GET
Example
As an example, to get the number of records in the Contracts related list for the account 001RM000003UNu6YAG, make this request:
1/services/data/v56.0/ui-api/related-list-count/001RM000003UNu6YAG/Contracts
Request Parameters
Parameter Name Type Description Required or Optional Available Version
maxCount Integer The maximum number of records to return. Optional 50.0
Response Body
Related List Record Count