Related List Records Batch Input
- JSON example
- To get record data for the Contacts and Opportunities related lists for the account record 001xx000003GYOpAAO, use the following request.
-
POST /ui-api/related-list-records/batch/001xx000003GYOpAAO
-
{ "relatedListParameters": [ { "relatedListId": "Contacts", "fields": ["Name", "Id", "Birthdate"], "optionalFields": ["Email"], "sortBy": ["CreatedDate"], "pageSize": 10, "where": "{ Account: { AnnualRevenue: { gt: 10000000 } }}" }, { "relatedListId": "Opportunities", "fields": ["Name", "Id"], "optionalFields": ["Email"], "sortBy": ["CreatedDate"], "pageSize": 10, "where": "{ Account: { AnnualRevenue: { gt: 10000000 } }}" } ] }
- Properties
-