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": "3f9ae843-ce7c-4675-a4d2-8469a1e18191",
"DiscountId": "52766402-be7d-45b4-b420-3bd6e6d4e73d",
"MultiPetPercentage": 1.0,
"PetId": "9f673d86-0bbf-436c-8181-b1a413f53f3e",
"PolicyStartDate": "2026-06-24T13:50:17.1805948+01:00",
"Postcode": "sample string 4",
"SelectedCoverOptionId": "91018aca-7712-429b-8d80-a403ce3fa811",
"SelectedExtras": [
"14d23bfb-3639-4301-b5ea-f73fa3ed46f8",
"f01d3b50-fc89-4519-8f08-c63d7f4db451"
],
"SelectedFixedExcessId": "582f407c-db1a-4f67-a1f3-f0869ea25750",
"SelectedVariableExcessId": "3c112f4d-42f7-449d-9a30-1290c7d9e2cf"
}
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>3f9ae843-ce7c-4675-a4d2-8469a1e18191</BrandId>
<DiscountId>52766402-be7d-45b4-b420-3bd6e6d4e73d</DiscountId>
<MultiPetPercentage>1</MultiPetPercentage>
<PetId>9f673d86-0bbf-436c-8181-b1a413f53f3e</PetId>
<PolicyStartDate>2026-06-24T13:50:17.1805948+01:00</PolicyStartDate>
<Postcode>sample string 4</Postcode>
<SelectedCoverOptionId>91018aca-7712-429b-8d80-a403ce3fa811</SelectedCoverOptionId>
<SelectedExtras xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>14d23bfb-3639-4301-b5ea-f73fa3ed46f8</d2p1:guid>
<d2p1:guid>f01d3b50-fc89-4519-8f08-c63d7f4db451</d2p1:guid>
</SelectedExtras>
<SelectedFixedExcessId>582f407c-db1a-4f67-a1f3-f0869ea25750</SelectedFixedExcessId>
<SelectedVariableExcessId>3c112f4d-42f7-449d-9a30-1290c7d9e2cf</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-06-24T13:50:17.1805948+01:00"
},
{
"Amount": 1.0,
"CollectionDate": "2026-06-24T13:50:17.1805948+01: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-06-24T13:50:17.1805948+01:00</CollectionDate>
</PaymentScheduleItem>
<PaymentScheduleItem>
<Amount>1</Amount>
<CollectionDate>2026-06-24T13:50:17.1805948+01:00</CollectionDate>
</PaymentScheduleItem>
</PaymentSchedule>
</RatingResponse>