Performs a get picklist options action for a particular configuration.
post
/ccstore/v1/cpq/configurations/pickListOptions
This endpoint performs a get picklist options action for a particular configuration.
Request
Supported Media Types
- application/json
Root Schema : PickListOptionsRequest
Type:
Show Source
object
-
cacheInstanceId(required):
string
The cache Instance Id of the current configuration
-
model(required):
string
The model of the model to be configured.
-
pickListVarName:
string
The variable name of the picklist options to be retrieved.
-
productFamily(required):
string
The productFamily of the model to be configured.
-
productLine(required):
string
The productLine of the model to be configured.
Example:
{
"productFamily":"visionVehicles",
"productLine":"consumerVehicles",
"cacheInstanceId":"guVTIijM2GvWEGaiE3pRij7wleLOIFLczSqL7c8j3ANSIOBB9JVd3AzRUVkoKCLt",
"model":"sUV"
}
Response
Supported Media Types
- application/json
200 Response
The options associated to a particular picklist.
Root Schema : PickListOptionsResponse
Type:
Show Source
object
-
cacheInstanceId:
string
The cache Instance Id of the current configuration
-
items:
array items
Example:
{
"cacheInstanceId":"guVTIijM2GvWEGaiE3pRij7wleLOIFLczSqL7c8j3ANSIOBB9JVd3AzRUVkoKCLt",
"items":[
{
"variableName":"picklist1",
"items":[
{
"displayValue":"",
"value":""
},
{
"displayValue":"a",
"value":"a"
},
{
"displayValue":"b",
"value":"b"
},
{
"displayValue":"c d e",
"value":"c d e"
},
{
"displayValue":"f",
"value":"f"
}
]
},
{
"variableName":"currency",
"items":[
{
"displayValue":"",
"value":""
},
{
"displayValue":"Canadian Dollar",
"value":"Canadian Dollar"
},
{
"displayValue":"Dollar",
"value":"Dollar"
},
{
"displayValue":"Euro",
"value":"Euro"
},
{
"displayValue":"INR",
"value":"INR"
}
]
}
]
}
Nested Schema : items
Type:
Show Source
object
-
items:
array items
-
variableName:
string
Name of the picklist.
400 Response
Bad request input data
Root Schema : Error
Type:
Show Source
object
-
message:
string
The error message
-
status:
string
The Error code