Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Get List View Records with URL Parameters
- Resource
-
1/ui-api/list-records/${listViewId}1/ui-api/list-records/${objectApiName}/${listViewApiName} -
- listViewId—The ID of a list view, such as 00BR0000000Wc0rMAC.
- objectApiName—A supported object, such as Account.
- listViewApiName—The API name of a list view, such as AllAccounts or __Recent.
- Available Version
- 42.0
- HTTP Method
- GET
- Example
-
As an example, let’s say we have a list view named All Accounts with a list view ID of 00BR0000000Wc0rMAC. To get information about all the records on this list view, make this request.
1GET /services/data/v67.0/ui-api/list-records/00BR0000000Wc0rMACYou can also use the object API name and list view API name of the list view to make the same request.
1GET /services/data/v67.0/ui-api/list-records/Account/AllAccountsTo get record data for the most recently used (MRU) list view for accounts, use the special __Recent list view API name.
1GET /services/data/v67.0/ui-api/list-records/Account/__Recent - Request Parameters
-
- Response Body
- List Record Collection