Get Global Picklists Features Association
Purpose
Get details of the features where a specific option of a global picklist is associated, like workflows or blueprints.
Request Details
Request URL
{api-domain}/crm/{version}/settings/global_picklists/{global_picklist_id}/actions/pick_list_values_associations
Header
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Scope
scope=ZohoCRM.settings.global_picklist.READ
(or)
scope=ZohoCRM.settings.global_picklist.ALL
Parameters
- picklist_value_idinteger, mandatory
Represents the unique ID of an option of the global picklist. Use this parameter to fetch the list of features the option is associated with.
Sample Request
Copiedcurl "https://www.zohoapis.com/crm/v6/settings/global_picklists/2423488000000492003/actions/pick_list_values_associations?picklist_value_id=2423488000000492041"
-X GET
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
Possible Errors
- INVALID_DATAHTTP 400
Given ID seems to be invalid
Resoutions: Specify a valid ID in the URL.
- NOT_ALLOWEDHTTP 400
Given global picklist in deletion progress
Resoution: The requested global picklist has already been scheduled for deletion. Specify a valid global picklist ID.
- REQUIRED_PARAM_MISSINGHTTP 400
One of the expected parameter is missing
Resoution: Specify the mandatory picklist_value_id parameter.
- INVALID_REQUEST_METHODHTTP 400
The https request method type is not a valid one
Resolution: You have specified an invalid HTTP method to access the API URL.
Specify a valid request method. Refer to the endpoints section above. - OAUTH_SCOPE_MISMATCHHTTP 401
Unauthorized
Resolution: The client does not have a valid scope to create global picklists. Generate a valid token with required scopes. Refer to the scope section above. - AUTHENTICATION_FAILUREHTTP 401
Authentication failed
Resolution: Pass the access token in the request header of the API call. - INVALID_URL_PATTERNHTTP 404
Please check if the URL trying to access is a correct one
Resolution: The request URL specified is incorrect. Specify a valid request URL.Refer to the request URL section above. - INTERNAL_ERRORHTTP 500
Internal Server Error
Resolution: Unexpected and unhandled exception in the server. Contact support team.
Sample Response
Copied{
"pick_list_values_associations": [
{
"resources": [
{
"name": "Advertisement",
"details": [
{
"name": "Big Deal Rule",
"id": "111113000000045665",
"type": "Workflow"
}
],
"id": "111113000000071003"
},
{
"name": "Test",
"id": "111113000000064001"
}
],
"type": "field_update"
},
{
"resources": [
{
"name": "Another",
"details": [
{
"name": "Qualify Leads through Call - V1",
"id": "111113000000047921",
"type": "Orchestration",
"transition": {
"name": "Create Lead",
"id": "111113000000048457"
}
}
],
"id": "111113000000072027"
}
],
"type": "task"
},
.
.
.
]
}