Newer Version Available
Get Most Recently Used List View Metadata
- Resource
-
1/ui-api/mru-list-info/${objectApiName} -
- objectApiName—A supported object, such as Account.
- Available version
- 43.0
- HTTP methods
- GET
- Example
-
To get information about the metadata for the most recently used account list views, make this request:
1GET /services/data/v43.0/ui-api/mru-list-info/AccountThe request returns the metadata for the most recently used account list view.
1{ 2 "cloneable" : false, 3 "createable" : true, 4 "deletable" : false, 5 "displayColumns" : [ { 6 "fieldApiName" : "Name", 7 "label" : "Account Name", 8 "sortable" : true 9 }, { 10 "fieldApiName" : "Site", 11 "label" : "Account Site", 12 "sortable" : true 13 }, { 14 "fieldApiName" : "Phone", 15 "label" : "Phone", 16 "sortable" : true 17 }, { 18 "fieldApiName" : "Owner.Alias", 19 "label" : "Account Owner Alias", 20 "sortable" : true 21 } ], 22 "eTag" : "c4f11fa9015eeb2387d301daeebb8b43", 23 "filterLogicString" : null, 24 "filteredByInfo" : [ ], 25 "label" : "Recently Viewed", 26 "listReference" : { 27 "id" : null, 28 "listViewApiName" : null, 29 "objectApiName" : "Account", 30 "type" : "mru" 31 }, 32 "orderedByInfo" : [ ], 33 "updateable" : false, 34 "userPreferences" : { 35 "columnWidths" : { 36 "Site" : -1, 37 "Owner.Alias" : -1, 38 "Phone" : -1, 39 "Name" : -1 40 }, 41 "columnWrap" : { 42 "Site" : false, 43 "Owner.Alias" : false, 44 "Phone" : false, 45 "Name" : false 46 } 47 }, 48 "visibility" : "Public", 49 "visibilityEditable" : false 50} - Response body for GET
- Most Recently Used List Metadata