POST api/Quote/GetRating
Request Information
URI Parameters
None.
Body Parameters
RatingRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| BrandId | globally unique identifier |
None. |
|
| DiscountId | globally unique identifier |
None. |
|
| MultiPetPercentage | decimal number |
None. |
|
| PetId | globally unique identifier |
None. |
|
| PolicyStartDate | date |
None. |
|
| Postcode | string |
None. |
|
| SelectedCoverOptionId | globally unique identifier |
None. |
|
| SelectedExtras | Collection of globally unique identifier |
None. |
|
| SelectedFixedExcessId | globally unique identifier |
None. |
|
| SelectedVariableExcessId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"BrandId": "ba7894d9-488a-467a-beec-afad1e6ed7e8",
"DiscountId": "4362e610-29f4-4688-ae16-627608c36a88",
"MultiPetPercentage": 1.0,
"PetId": "be6fb4a4-53e8-4a32-a549-3062d31d2084",
"PolicyStartDate": "2026-03-23T20:11:20.5363461+00:00",
"Postcode": "sample string 4",
"SelectedCoverOptionId": "32da9ac8-fa8e-4ff6-b173-90776db0ec4b",
"SelectedExtras": [
"7841453a-acb7-4d10-aa65-3e2740d40499",
"b6ce4131-ada9-4349-a01a-e2b40112e6a6"
],
"SelectedFixedExcessId": "3317da05-135b-4ded-aa6e-09b2515cc5b0",
"SelectedVariableExcessId": "3adc73e5-2727-4ba4-bf37-8a15de3e9461"
}
application/xml, text/xml
Sample:
<RatingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models">
<BrandId>ba7894d9-488a-467a-beec-afad1e6ed7e8</BrandId>
<DiscountId>4362e610-29f4-4688-ae16-627608c36a88</DiscountId>
<MultiPetPercentage>1</MultiPetPercentage>
<PetId>be6fb4a4-53e8-4a32-a549-3062d31d2084</PetId>
<PolicyStartDate>2026-03-23T20:11:20.5363461+00:00</PolicyStartDate>
<Postcode>sample string 4</Postcode>
<SelectedCoverOptionId>32da9ac8-fa8e-4ff6-b173-90776db0ec4b</SelectedCoverOptionId>
<SelectedExtras xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>7841453a-acb7-4d10-aa65-3e2740d40499</d2p1:guid>
<d2p1:guid>b6ce4131-ada9-4349-a01a-e2b40112e6a6</d2p1:guid>
</SelectedExtras>
<SelectedFixedExcessId>3317da05-135b-4ded-aa6e-09b2515cc5b0</SelectedFixedExcessId>
<SelectedVariableExcessId>3adc73e5-2727-4ba4-bf37-8a15de3e9461</SelectedVariableExcessId>
</RatingRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RatingResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| AnnualRate | decimal number |
None. |
|
| DiscountedRate | decimal number |
None. |
|
| InsurancePremiumTaxPercentage | decimal number |
None. |
|
| InsurancePremiumTaxValue | decimal number |
None. |
|
| MonthlyRate | decimal number |
None. |
|
| PaymentSchedule | Collection of PaymentScheduleItem |
None. |
|
| MultipetPercentage | decimal number |
None. |
|
| MultipetAmount | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"AnnualRate": 1.0,
"DiscountedRate": 1.0,
"InsurancePremiumTaxPercentage": 2.0,
"InsurancePremiumTaxValue": 3.0,
"MonthlyRate": 4.0,
"PaymentSchedule": [
{
"Amount": 1.0,
"CollectionDate": "2026-03-23T20:11:20.5363461+00:00"
},
{
"Amount": 1.0,
"CollectionDate": "2026-03-23T20:11:20.5363461+00:00"
}
],
"MultipetPercentage": 1.0,
"MultipetAmount": 1.0
}
application/xml, text/xml
Sample:
<RatingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models">
<AnnualRate>1</AnnualRate>
<DiscountedRate>1</DiscountedRate>
<InsurancePremiumTaxPercentage>2</InsurancePremiumTaxPercentage>
<InsurancePremiumTaxValue>3</InsurancePremiumTaxValue>
<MonthlyRate>4</MonthlyRate>
<MultipetAmount>1</MultipetAmount>
<MultipetPercentage>1</MultipetPercentage>
<PaymentSchedule>
<PaymentScheduleItem>
<Amount>1</Amount>
<CollectionDate>2026-03-23T20:11:20.5363461+00:00</CollectionDate>
</PaymentScheduleItem>
<PaymentScheduleItem>
<Amount>1</Amount>
<CollectionDate>2026-03-23T20:11:20.5363461+00:00</CollectionDate>
</PaymentScheduleItem>
</PaymentSchedule>
</RatingResponse>