Newer Version Available

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

Get a Batch of Related List Record Counts

Returns the record count for a batch of related lists.
Resource
1/ui-api/related-list-count/batch/${parentRecordId}/${relatedListIds}
  • parentRecordId—The ID of the record you want to get related lists for.
  • relatedListIds—Comma separated IDs of supported related lists 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/v54.0/ui-api/related-list-count/batch/001RM000003UNu6YAG/Contracts,WorkOrders
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
Simplified Batch Results