GET api/Quote/GetQuote?quoteReferenceNumber={quoteReferenceNumber}&postcode={postcode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| quoteReferenceNumber | string |
Required |
|
| postcode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
QuoteResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| AnnualRate | decimal number |
None. |
|
| AvailableCollectionDays | Collection of integer |
None. |
|
| CoverExtras | Collection of CoverExtra |
None. |
|
| CoverOptions | Collection of CoverOption |
None. |
|
| Discount | Discount |
None. |
|
| DiscountedRate | decimal number |
None. |
|
| FixedExcesses | Collection of Excess |
None. |
|
| InsurancePremiumTaxPercentage | decimal number |
None. |
|
| InsurancePremiumTaxValue | decimal number |
None. |
|
| IsRenewalQuote | boolean |
None. |
|
| MonthlyRate | decimal number |
None. |
|
| PaymentSchedule | Collection of PaymentScheduleItem |
None. |
|
| PolicyNumber | string |
None. |
|
| QuoteNotificationSent | boolean |
None. |
|
| QuoteReference | string |
None. |
|
| SelectedExtras | Collection of ExtraEquine |
None. |
|
| VariableExcesses | Collection of Excess |
None. |
|
| MultipetPercentage | decimal number |
None. |
|
| MultipetAmount | decimal number |
None. |
|
| AffiliateId | globally unique identifier |
None. |
|
| BasketId | globally unique identifier |
None. |
|
| BrandId | globally unique identifier |
None. |
|
| CampaignId | globally unique identifier |
None. |
|
| Customer | Customer |
None. |
|
| Id | globally unique identifier |
None. |
|
| Pet | Pet |
None. |
|
| PolicyStartDate | date |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| PromoCode | string |
None. |
|
| SelectedCoverOptionId | globally unique identifier |
None. |
|
| SelectedExtras | Collection of globally unique identifier |
None. |
|
| SelectedFixedExcessId | globally unique identifier |
None. |
|
| SelectedVariableExcessId | globally unique identifier |
None. |
|
| TermsAgreed | boolean |
None. |
|
| AutoRenew | boolean |
None. |
|
| AllowFollowUp | boolean |
None. |
|
| AdditionalPolicyHolder | AuthorityToDeal |
None. |
Response Formats
application/json, text/json
Sample:
{
"AnnualRate": 1.0,
"AvailableCollectionDays": [
1,
2
],
"CoverExtras": null,
"CoverOptions": [
{
"AnnualPrice": 1.0,
"Features": null,
"Id": "c8032d62-fdd3-4259-979a-088a6dc5b2bf",
"MappingValue": 1,
"Name": "sample string 3",
"Price": 4.0,
"IsDefault": true,
"MultipetPercentage": 1.0,
"MultipetAmount": 1.0
},
{
"AnnualPrice": 1.0,
"Features": null,
"Id": "c8032d62-fdd3-4259-979a-088a6dc5b2bf",
"MappingValue": 1,
"Name": "sample string 3",
"Price": 4.0,
"IsDefault": true,
"MultipetPercentage": 1.0,
"MultipetAmount": 1.0
}
],
"Discount": {
"Amount": 1.0,
"ApplyAtEnd": true,
"ApplyAtStart": true,
"Code": "sample string 4",
"Description": "sample string 5",
"Id": "b69b7ffb-e951-4d22-bdd4-ea5b9630b2c9",
"IsPercentage": true,
"Monthly": true,
"NumberOfMonths": 9
},
"DiscountedRate": 1.0,
"FixedExcesses": null,
"InsurancePremiumTaxPercentage": 1.0,
"InsurancePremiumTaxValue": 1.0,
"IsRenewalQuote": true,
"MonthlyRate": 1.0,
"PaymentSchedule": [
{
"Amount": 1.0,
"CollectionDate": "2026-08-15T10:50:03.7191201+01:00"
},
{
"Amount": 1.0,
"CollectionDate": "2026-08-15T10:50:03.7191201+01:00"
}
],
"PolicyNumber": "sample string 3",
"QuoteNotificationSent": true,
"QuoteReference": "sample string 5",
"SelectedExtras": [
{
"Id": "75e49f8f-d618-4592-9911-d5b26f2353c2",
"Amount": 1.0,
"AnnualOptionalBenefit": 1.0,
"MonthlyOptionalBenefit": 1.0
},
{
"Id": "75e49f8f-d618-4592-9911-d5b26f2353c2",
"Amount": 1.0,
"AnnualOptionalBenefit": 1.0,
"MonthlyOptionalBenefit": 1.0
}
],
"VariableExcesses": null,
"MultipetPercentage": 1.0,
"MultipetAmount": 1.0,
"AffiliateId": "e5ecb24d-453c-4c52-a884-aa8599e81021",
"BasketId": "5700c6b5-9693-47db-a9c8-08207f517213",
"BrandId": "f20e11ad-8686-4b8c-a64d-562f126c1e68",
"CampaignId": "ac643030-69cb-453c-8c5a-534484935d89",
"Customer": {
"AddressLine1": "sample string 1",
"AddressLine2": "sample string 2",
"AddressLine3": "sample string 3",
"CountryId": "9d9e1f11-4608-4dd4-8c3e-c4d3a17d1b49",
"County": "sample string 4",
"DateOfBirth": "2026-08-15T10:50:03.7191201+01:00",
"DaytimeNumber": "sample string 5",
"EmailAddress": "sample string 6",
"EveningNumber": "sample string 7",
"FirstName": "sample string 8",
"HouseName": "sample string 9",
"HouseNumber": "sample string 10",
"Id": "55ee649c-84db-4057-a5cb-f24c0efb68c3",
"IsLocked": true,
"LastName": "sample string 12",
"MobileNumber": "sample string 13",
"PostCode": "sample string 14",
"TitleId": "ad426934-afa6-487b-9643-0d1d85affe4c",
"Town": "sample string 15",
"MarketingContactByEmail": true,
"MarketingContactByPhone": true,
"MarketingContactBySMS": true
},
"Id": "37ca1d98-7aab-4f35-8458-f20675e80071",
"Pet": {
"IsNextVacVetChecked": true,
"BreedId": "7a016eab-0353-46c0-8344-803ac4be19c4",
"Cost": 1.0,
"DateOfBirth": "2026-08-15T10:50:03.7191201+01:00",
"DateOfBirthExact": true,
"GenderId": "2e5f2a08-aacb-4853-8c07-5391fc735339",
"HadPriorThirdPartyLiabilityClaim": true,
"Id": "a994b809-5634-4014-a49b-4cfcdf763303",
"IllnessOrInjury": true,
"LastVaccinatedDate": "2026-08-15T10:50:03.7191201+01:00",
"MicrochipNumber": "sample string 7",
"Name": "sample string 8",
"PolicyStartDate": "2026-08-15T10:50:03.7191201+01:00",
"PetSizeId": "b1a8ce1e-56ee-44a1-b140-4c4ad958cf15",
"SpeciesId": "6ebe9f94-482f-49c5-8bd0-5aec339e9b60",
"Vaccinated": true,
"VetId": "556a548c-a20f-41a5-92b4-b9ea4f6dfc59",
"VetChecked": true
},
"PolicyStartDate": "2026-08-15T10:50:03.7191201+01:00",
"ProductId": "9ff2d714-30c9-4897-9d75-b0035969b37d",
"PromoCode": "sample string 8",
"SelectedCoverOptionId": "b29e6859-872f-4e06-8d5e-f3a72066792f",
"SelectedFixedExcessId": "8a4dfda3-31e7-4ffd-8464-1da81fc23905",
"SelectedVariableExcessId": "5356882b-1d67-4486-ac8d-e50ca6bea1db",
"TermsAgreed": true,
"AutoRenew": true,
"AllowFollowUp": true,
"AdditionalPolicyHolder": {
"AuthorityTypeId": "32f7bcfc-03d4-49b5-a39c-c54cd47112b3",
"CustomerId": "2c337213-2b4f-491c-bdfc-e6a9245b7b31",
"DateFrom": "2026-08-15T10:50:03.7191201+01:00",
"DateOfBirth": "2026-08-15T10:50:03.7191201+01:00",
"DateTo": "2026-08-15T10:50:03.7191201+01:00",
"FirstName": "sample string 2",
"Id": "f8ae3670-98f8-41b0-bc40-aaefb67875e4",
"LastName": "sample string 3",
"PolicyId": "64e0d4cf-5a03-4e2c-bfff-7ad9664a18e2",
"PolicyNo": "sample string 4",
"RelationshipId": "eb847166-ab88-4f8c-b6d0-dbf46aae64e2",
"TitleId": "4420fc33-6fa4-45e0-9e13-9a2b3f84edc1"
}
}
application/xml, text/xml
Sample:
<QuoteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models">
<AdditionalPolicyHolder>
<AuthorityTypeId>32f7bcfc-03d4-49b5-a39c-c54cd47112b3</AuthorityTypeId>
<CustomerId>2c337213-2b4f-491c-bdfc-e6a9245b7b31</CustomerId>
<DateFrom>2026-08-15T10:50:03.7191201+01:00</DateFrom>
<DateOfBirth>2026-08-15T10:50:03.7191201+01:00</DateOfBirth>
<DateTo>2026-08-15T10:50:03.7191201+01:00</DateTo>
<FirstName>sample string 2</FirstName>
<Id>f8ae3670-98f8-41b0-bc40-aaefb67875e4</Id>
<LastName>sample string 3</LastName>
<PolicyId>64e0d4cf-5a03-4e2c-bfff-7ad9664a18e2</PolicyId>
<PolicyNo>sample string 4</PolicyNo>
<RelationshipId>eb847166-ab88-4f8c-b6d0-dbf46aae64e2</RelationshipId>
<TitleId>4420fc33-6fa4-45e0-9e13-9a2b3f84edc1</TitleId>
</AdditionalPolicyHolder>
<AffiliateId>e5ecb24d-453c-4c52-a884-aa8599e81021</AffiliateId>
<AllowFollowUp>true</AllowFollowUp>
<AutoRenew>true</AutoRenew>
<BasketId>5700c6b5-9693-47db-a9c8-08207f517213</BasketId>
<BrandId>f20e11ad-8686-4b8c-a64d-562f126c1e68</BrandId>
<CampaignId>ac643030-69cb-453c-8c5a-534484935d89</CampaignId>
<Customer>
<AddressLine1>sample string 1</AddressLine1>
<AddressLine2>sample string 2</AddressLine2>
<AddressLine3>sample string 3</AddressLine3>
<CountryId>9d9e1f11-4608-4dd4-8c3e-c4d3a17d1b49</CountryId>
<County>sample string 4</County>
<DateOfBirth>2026-08-15T10:50:03.7191201+01:00</DateOfBirth>
<DaytimeNumber>sample string 5</DaytimeNumber>
<EmailAddress>sample string 6</EmailAddress>
<EveningNumber>sample string 7</EveningNumber>
<FirstName>sample string 8</FirstName>
<HouseName>sample string 9</HouseName>
<HouseNumber>sample string 10</HouseNumber>
<Id>55ee649c-84db-4057-a5cb-f24c0efb68c3</Id>
<IsLocked>true</IsLocked>
<LastName>sample string 12</LastName>
<MarketingContactByEmail>true</MarketingContactByEmail>
<MarketingContactByPhone>true</MarketingContactByPhone>
<MarketingContactBySMS>true</MarketingContactBySMS>
<MobileNumber>sample string 13</MobileNumber>
<PostCode>sample string 14</PostCode>
<TitleId>ad426934-afa6-487b-9643-0d1d85affe4c</TitleId>
<Town>sample string 15</Town>
</Customer>
<Id>37ca1d98-7aab-4f35-8458-f20675e80071</Id>
<Pet>
<BreedId>7a016eab-0353-46c0-8344-803ac4be19c4</BreedId>
<Cost>1</Cost>
<DateOfBirth>2026-08-15T10:50:03.7191201+01:00</DateOfBirth>
<DateOfBirthExact>true</DateOfBirthExact>
<GenderId>2e5f2a08-aacb-4853-8c07-5391fc735339</GenderId>
<HadPriorThirdPartyLiabilityClaim>true</HadPriorThirdPartyLiabilityClaim>
<Id>a994b809-5634-4014-a49b-4cfcdf763303</Id>
<IllnessOrInjury>true</IllnessOrInjury>
<IsNextVacVetChecked>true</IsNextVacVetChecked>
<LastVaccinatedDate>2026-08-15T10:50:03.7191201+01:00</LastVaccinatedDate>
<MicrochipNumber>sample string 7</MicrochipNumber>
<Name>sample string 8</Name>
<PetSizeId>b1a8ce1e-56ee-44a1-b140-4c4ad958cf15</PetSizeId>
<PolicyStartDate>2026-08-15T10:50:03.7191201+01:00</PolicyStartDate>
<SpeciesId>6ebe9f94-482f-49c5-8bd0-5aec339e9b60</SpeciesId>
<Vaccinated>true</Vaccinated>
<VetChecked>true</VetChecked>
<VetId>556a548c-a20f-41a5-92b4-b9ea4f6dfc59</VetId>
</Pet>
<PolicyStartDate>2026-08-15T10:50:03.7191201+01:00</PolicyStartDate>
<ProductId>9ff2d714-30c9-4897-9d75-b0035969b37d</ProductId>
<PromoCode>sample string 8</PromoCode>
<SelectedCoverOptionId>b29e6859-872f-4e06-8d5e-f3a72066792f</SelectedCoverOptionId>
<SelectedExtras xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>90320253-5fca-4f4b-a171-96666262fcd3</d2p1:guid>
<d2p1:guid>7033c761-36a5-4dff-9e6b-6054841d2b84</d2p1:guid>
</SelectedExtras>
<SelectedFixedExcessId>8a4dfda3-31e7-4ffd-8464-1da81fc23905</SelectedFixedExcessId>
<SelectedVariableExcessId>5356882b-1d67-4486-ac8d-e50ca6bea1db</SelectedVariableExcessId>
<TermsAgreed>true</TermsAgreed>
<AnnualRate>1</AnnualRate>
<AvailableCollectionDays xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</AvailableCollectionDays>
<CoverExtras i:nil="true" />
<CoverOptions>
<CoverOption>
<AnnualPrice>1</AnnualPrice>
<Features i:nil="true" />
<Id>c8032d62-fdd3-4259-979a-088a6dc5b2bf</Id>
<IsDefault>true</IsDefault>
<MappingValue>1</MappingValue>
<MultipetAmount>1</MultipetAmount>
<MultipetPercentage>1</MultipetPercentage>
<Name>sample string 3</Name>
<Price>4</Price>
</CoverOption>
<CoverOption>
<AnnualPrice>1</AnnualPrice>
<Features i:nil="true" />
<Id>c8032d62-fdd3-4259-979a-088a6dc5b2bf</Id>
<IsDefault>true</IsDefault>
<MappingValue>1</MappingValue>
<MultipetAmount>1</MultipetAmount>
<MultipetPercentage>1</MultipetPercentage>
<Name>sample string 3</Name>
<Price>4</Price>
</CoverOption>
</CoverOptions>
<Discount>
<Amount>1</Amount>
<ApplyAtEnd>true</ApplyAtEnd>
<ApplyAtStart>true</ApplyAtStart>
<Code>sample string 4</Code>
<Description>sample string 5</Description>
<Id>b69b7ffb-e951-4d22-bdd4-ea5b9630b2c9</Id>
<IsPercentage>true</IsPercentage>
<Monthly>true</Monthly>
<NumberOfMonths>9</NumberOfMonths>
</Discount>
<DiscountedRate>1</DiscountedRate>
<FixedExcesses i:nil="true" />
<HasErrored>true</HasErrored>
<InsurancePremiumTaxPercentage>1</InsurancePremiumTaxPercentage>
<InsurancePremiumTaxValue>1</InsurancePremiumTaxValue>
<IsRenewalQuote>true</IsRenewalQuote>
<Messages i:nil="true" />
<MonthlyRate>1</MonthlyRate>
<MultipetAmount>1</MultipetAmount>
<MultipetPercentage>1</MultipetPercentage>
<PaymentSchedule>
<PaymentScheduleItem>
<Amount>1</Amount>
<CollectionDate>2026-08-15T10:50:03.7191201+01:00</CollectionDate>
</PaymentScheduleItem>
<PaymentScheduleItem>
<Amount>1</Amount>
<CollectionDate>2026-08-15T10:50:03.7191201+01:00</CollectionDate>
</PaymentScheduleItem>
</PaymentSchedule>
<PolicyNumber>sample string 3</PolicyNumber>
<QuoteNotificationSent>true</QuoteNotificationSent>
<QuoteReference>sample string 5</QuoteReference>
<SelectedExtras>
<ExtraEquine>
<Amount>1</Amount>
<AnnualOptionalBenefit>1</AnnualOptionalBenefit>
<Id>75e49f8f-d618-4592-9911-d5b26f2353c2</Id>
<MonthlyOptionalBenefit>1</MonthlyOptionalBenefit>
</ExtraEquine>
<ExtraEquine>
<Amount>1</Amount>
<AnnualOptionalBenefit>1</AnnualOptionalBenefit>
<Id>75e49f8f-d618-4592-9911-d5b26f2353c2</Id>
<MonthlyOptionalBenefit>1</MonthlyOptionalBenefit>
</ExtraEquine>
</SelectedExtras>
<VariableExcesses i:nil="true" />
</QuoteResponse>