curl --request POST \
--url https://api.example.com/policies/{policyId}/manual-quote \
--header 'Content-Type: application/json' \
--data '
{
"components": [
{
"id": "<string>",
"type": "PREMIUM",
"chargeType": "ONE_TIME",
"premium": {
"amountPreFeesAndTaxes": 123,
"totalFees": 123,
"totalTaxes": 123
},
"calculatePremiumBrokerFees": true
}
],
"percentages": [
{
"id": "<string>",
"type": "PREMIUM",
"chargeType": "ONE_TIME",
"componentIds": [
"<string>"
],
"amountPropertiesFrom": [
"amountPreFeesAndTaxes"
],
"percentage": 50
}
]
}
'{}curl --request POST \
--url https://api.example.com/policies/{policyId}/manual-quote \
--header 'Content-Type: application/json' \
--data '
{
"components": [
{
"id": "<string>",
"type": "PREMIUM",
"chargeType": "ONE_TIME",
"premium": {
"amountPreFeesAndTaxes": 123,
"totalFees": 123,
"totalTaxes": 123
},
"calculatePremiumBrokerFees": true
}
],
"percentages": [
{
"id": "<string>",
"type": "PREMIUM",
"chargeType": "ONE_TIME",
"componentIds": [
"<string>"
],
"amountPropertiesFrom": [
"amountPreFeesAndTaxes"
],
"percentage": 50
}
]
}
'{}the policy id
The response is of type object.
Was this page helpful?