Querying for visualized products
Use the following endpoints for query for product templates for existing visualized products:
- GET
/productdefinition/v1/product-templates
- GET
/productdefinition/v1/product-templates/{productId}
For example, the following request retrieves the product template for the visualized
version of a Workers' Compensation product (whose id is
WorkersComp
).
Command
GET /productdefinition/v1/product-templates/WorkersComp
Response payload
{
"data": {
"attributes": {
"abbreviation": "WC",
"codeIdentifier": "WorkersComp",
"description": "Workers' Compensation",
"enabled": true,
"id": "WorkersComp",
"name": "Workers' Compensation",
"productAccountType": {
"code": "Any",
"name": "Any"
}
},
...