Get product attributes to build the quote params
GET/quotes/:market/:productType/attributes
Get product attributes to build the quote params
Request
Path Parameters
market stringrequired
Market
productType stringrequired
product Type
Responses
- 200
- 401
- 404
Successful operation
- application/json
- Schema
- Example (from schema)
- car-insurance
Schema
Array [
]
params
object[]
id string
Param id. Refer to a specific attribute and will be used to get attribute items.
attributeKey string
Attribute name to be used to get attribute items.
type string
Attribute type
required boolean
depends string[]
Array of attributes ids necessaries to get attribute items correct values
{
"params": [
{
"id": "string",
"attributeKey": "string",
"type": "string",
"required": true,
"depends": [
"string"
]
}
]
}
{
"params": {
"attributeId": "models-car-insurance-sg",
"id": "vehicle.modelId",
"required": true,
"type": "string",
"depends": [
"vehicle.brandId"
]
}
}
Unauthorized
Quote not found
Loading...