Performs retrieval of templates that control this display of BOM and Recommended Parts.
get
/ccstore/v1/cpq/configurations/templates/{id}
This endpoint retrieves templates that can be used to control the columns to be displayed for BOM and Recommended Parts tables.
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): string
id of the template
Response
Supported Media Types
- application/json
200 Response
The templates for displaying BOM and recommended parts.
Root Schema : TemplatesResponse
Type:
Show Source
object
Example:
{
"modelTemplate":{
"items":[
{
"variableName":"modelName",
"name":"Model Name",
"label":"Model Name",
"type":"String",
"order":1
},
{
"variableName":"description",
"name":"Description",
"label":"Description",
"type":"String",
"order":2
},
{
"variableName":"price",
"name":"Price",
"label":"Price",
"type":"Currency",
"order":3
},
{
"variableName":"quantity",
"name":"Quantity",
"label":"Quantity",
"type":"Integer",
"order":4
},
{
"variableName":"comment",
"name":"Comment",
"label":"Comment",
"type":"String",
"order":5
}
]
},
"partsTemplate":{
"items":[
{
"variableName":"partNumber",
"name":"Part Number",
"label":"Part Number",
"type":"String",
"order":1
},
{
"variableName":"description",
"name":"Description",
"label":"Description",
"type":"String",
"order":2
},
{
"variableName":"price",
"name":"Price",
"label":"Price",
"type":"Currency",
"order":3
},
{
"variableName":"quantity",
"name":"Quantity",
"label":"Quantity",
"type":"Integer",
"order":4
},
{
"variableName":"comment",
"name":"Comment",
"label":"Comment",
"type":"String",
"order":5
}
]
}
}
400 Response
Bad request input data
Root Schema : Error
Type:
Show Source
object
-
message:
string
The error message
-
status:
string
The Error code