Get Started with Communications, Media, and Energy (CME) Common APIs
Documentation Changelog
EPC API Swagger Reference
EPC API Response Format
Create Picklists
Retrieve Picklist Details
Update Picklists
Delete Picklists
Update a picklist by specifying its ID and the fields to update in the request body.
1PUT /v2/epc/picklists1updatePicklist1APIPicklistRestHandler1PCAppHandlerCommunication (vlocity_cmt)
For API parameter names and descriptions, see the Swagger (OpenAPI) reference documentation for Industries EPC REST APIs.
| Response Format | JSON |
|---|---|
| Resource URL | /services/apexrest/{namespace}/v2/epc/picklists |
1PUT /v2/epc/picklists
2{
3 "epcRequest": {
4 "entity": {
5 "Id":"a313h000000rqfWAAQ",
6 "Name": "Picklist-Example",
7 "vlocity_cmt__Code__c": "Picklist-Example",
8 "vlocity_cmt__VersionLabel__c": "Version-1",
9 "vlocity_cmt__LifecycleStatus__c": "Draft",
10 "vlocity_cmt__IsActive__c": false
11 }
12 }
13}1{
2 "epcResponse": {
3 "entities": [
4 {
5 "entity": {
6 "attributes": {
7 "type": "vlocity_cmt__Picklist__c",
8 "url": "/services/data/v52.0/sobjects/vlocity_cmt__Picklist__c/a313h000000rqfWAAQ"
9 },
10 "Id": "a313h000000rqfWAAQ",
11 "OwnerId": "0053h000002UGCUAA4",
12 "IsDeleted": false,
13 "Name": "Picklist-Example",
14 "CurrencyIsoCode": "USD",
15 "CreatedDate": "2021-09-02T09:03:02.000+0000",
16 "CreatedById": "0053h000002UGCUAA4",
17 "LastModifiedDate": "2021-09-02T09:18:22.000+0000",
18 "LastModifiedById": "0053h000002UGCUAA4",
19 "SystemModstamp": "2021-09-02T09:18:22.000+0000",
20 "LastViewedDate": "2021-09-02T09:18:21.000+0000",
21 "LastReferencedDate": "2021-09-02T09:18:21.000+0000",
22 "vlocity_cmt__Code__c": "Picklist-Example",
23 "vlocity_cmt__DataType__c": "Text",
24 "vlocity_cmt__GlobalGroupKey__c": "1e3d72b5-a2a1-5ee7-6084-08b6fc7bac4e",
25 "vlocity_cmt__GlobalKey__c": "32356d14-35fa-ee91-f8c3-103ef26317be",
26 "vlocity_cmt__IsActive__c": false,
27 "vlocity_cmt__IsShared__c": false,
28 "vlocity_cmt__LifecycleStatus__c": "Draft",
29 "vlocity_cmt__VersionLabel__c": "Version-1"
30 }
31 }
32 ],
33 "overallResult": "success"
34 }
35}