Newer Version Available
Update List View Metadata
- Resource
-
1/ui-api/list-info/${objectApiName}/${listViewApiName}- objectApiName—A supported object, such as Account.
- listViewApiName—The API name of a list view, such as AllAccounts.
- Available Version
- 61.0
- HTTP Method
- PATCH
- Example
- This example uses a request body to update the metadata for a list view. The object
API name is Account and the list view API name is
AllAccounts.
1PATCH /services/data/v66.0/ui-api/list-info/Account/AllAccounts1{ 2"filteredByInfo": [ 3 { 4 "fieldApiName": "Name", 5 "operandLabels": [ "This", "That"], 6 "operator": "Equals" 7 }, 8 { 9 "fieldApiName": "Phone", 10 "operandLabels": [ "919"], 11 "operator": "StartsWith" 12 }, 13{ 14 "fieldApiName": "AnnualRevenue", 15 "operandLabels": [ "1000000"], 16 "operator": "GreaterThan" 17 } 18], 19"filterLogicString" : "(1 OR 2) AND 3", 20"label": "Accounts opened this year", 21"scope": { 22 "apiName": "entity", 23 "entityId": "00Gxx000000sjI8", 24 "relatedEntityId": "701xx000003HZ7X" 25}, 26"visibility": "Public" 27} - Request parameters
-
Parameter Name Type Description Required or Optional Available Version listInfoInput List Info Input The list info to update. Required 61.0 - Response Body
- List Info