GET api/Quote/GetQuoteEquine?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
QuoteResponseEquineName | 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. |
|
QuoteNotificationSent | boolean |
None. |
|
QuoteReference | string |
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 | PetEquine |
None. |
|
PolicyStartDate | date |
None. |
|
ProductId | globally unique identifier |
None. |
|
PromoCode | string |
None. |
|
SelectedCoverOptionId | globally unique identifier |
None. |
|
SelectedExtras | Collection of ExtraEquine |
None. |
|
BehavioursVices | Collection of globally unique identifier |
None. |
|
SelectedFixedExcessId | globally unique identifier |
None. |
|
SelectedVariableExcessId | globally unique identifier |
None. |
|
TermsAgreed | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "AnnualRate": 1.0, "AvailableCollectionDays": [ 1, 2 ], "CoverExtras": null, "CoverOptions": [ { "AnnualPrice": 1.0, "Features": null, "FixedExcess": 1.0, "Id": "ec68afed-d7b3-4dbb-af58-1663d6d56a98", "MappingValue": 1, "Name": "sample string 2", "Price": 3.0, "IsDefault": true, "MultipetPercentage": 1.0, "MultipetAmount": 1.0, "VariableExcess": 1.0 }, { "AnnualPrice": 1.0, "Features": null, "FixedExcess": 1.0, "Id": "ec68afed-d7b3-4dbb-af58-1663d6d56a98", "MappingValue": 1, "Name": "sample string 2", "Price": 3.0, "IsDefault": true, "MultipetPercentage": 1.0, "MultipetAmount": 1.0, "VariableExcess": 1.0 } ], "Discount": { "Amount": 1.0, "ApplyAtEnd": true, "ApplyAtStart": true, "Code": "sample string 4", "Description": "sample string 5", "Id": "0b40813c-1136-4289-b614-2ca7fbfa2ab3", "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": "2025-08-27T03:32:50.5134503+01:00" }, { "Amount": 1.0, "CollectionDate": "2025-08-27T03:32:50.5134503+01:00" } ], "QuoteNotificationSent": true, "QuoteReference": "sample string 4", "VariableExcesses": null, "MultipetPercentage": 1.0, "MultipetAmount": 1.0, "AffiliateId": "f4895ecd-412a-48a6-ad97-563debc0bf79", "BasketId": "f5ba18d7-f624-4eb3-a687-5d2d77c11541", "BrandId": "abec3fcf-6d27-4e52-bb8b-2df84e16a545", "CampaignId": "a09d57af-ffa5-4f0f-9123-91e987b468b1", "Customer": { "AddressLine1": "sample string 1", "AddressLine2": "sample string 2", "AddressLine3": "sample string 3", "CountryId": "ac53426c-7891-4101-b1e0-508fd0e92848", "County": "sample string 4", "DateOfBirth": "2025-08-27T03:32:50.5134503+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": "d4400142-2514-4959-9cea-d0860556c10b", "IsLocked": true, "LastName": "sample string 12", "MobileNumber": "sample string 13", "PostCode": "sample string 14", "TitleId": "07b90a87-cdb3-401a-876a-97f7d7fd1a44", "Town": "sample string 15", "MarketingContactByEmail": true, "MarketingContactByPhone": true, "MarketingContactByPost": true, "MarketingContactBySMS": true, "Policies": [ { "PolicyId": "cc286864-6d67-4a6c-a5a7-2714e7cb23b2", "PolicyNumber": "sample string 2", "PolicyEffectiveFrom": "2025-08-27T03:32:50.5134503+01:00", "PolicyEffectiveTo": "2025-08-27T03:32:50.5134503+01:00", "Brand": "sample string 3", "Product": "sample string 4", "PetSpecies": "sample string 5", "PetDOB": "2025-08-27T03:32:50.5134503+01:00", "PetBreed": "sample string 6", "PetName": "sample string 7", "PetPhoto": { "Id": "b3661f33-7f36-445a-8677-e91c62d7d95a", "FileExtension": "sample string 2", "Size": 3, "Data": "QEA=" } }, { "PolicyId": "cc286864-6d67-4a6c-a5a7-2714e7cb23b2", "PolicyNumber": "sample string 2", "PolicyEffectiveFrom": "2025-08-27T03:32:50.5134503+01:00", "PolicyEffectiveTo": "2025-08-27T03:32:50.5134503+01:00", "Brand": "sample string 3", "Product": "sample string 4", "PetSpecies": "sample string 5", "PetDOB": "2025-08-27T03:32:50.5134503+01:00", "PetBreed": "sample string 6", "PetName": "sample string 7", "PetPhoto": { "Id": "b3661f33-7f36-445a-8677-e91c62d7d95a", "FileExtension": "sample string 2", "Size": 3, "Data": "QEA=" } } ] }, "Id": "d12a2d0e-82dc-42b6-807c-3eda3724d502", "Pet": { "ActivityGroupId": "48556cb5-bd87-4f53-aaf1-fff75493b059", "Age": 1, "HorseBreedId": "b598d486-a168-4aed-86a1-20b1b22dca91", "BehaviouralIssue": true, "BehavioursVices": [ { "Id": "b63be879-d999-4f5b-a77f-72b752401244", "Name": "sample string 2", "Option": 0 }, { "Id": "b63be879-d999-4f5b-a77f-72b752401244", "Name": "sample string 2", "Option": 0 } ], "Cost": 1.0, "CurrMarketValue": 1.0, "DateOfBirth": "2025-08-27T03:32:50.5134503+01:00", "DateOfBirthExact": true, "DeclaredDate": "2025-08-27T03:32:50.5134503+01:00", "FreezeMarked": true, "SexId": "05603a04-d781-43fe-abe9-bb33e59ac8ba", "HadPriorThirdPartyLiabilityClaim": true, "Hands": 1, "HorseColourId": "f217dbf7-3bc6-47f5-add2-93c27255ecad", "Inches": 1, "Id": "fe4007c7-a09d-4f24-b209-5ae02c725425", "IllnessOrInjury": true, "PassportID": "sample string 5", "PetTypeOfOwnershipId": "2c35002c-5376-4ff4-82ab-310cd57849f7", "PolicyStartDate": "2025-08-27T03:32:50.5134503+01:00", "PreviousTpl": true, "PreviousTreatments": true, "PurchaseDate": "2025-08-27T03:32:50.5134503+01:00", "RegName": "sample string 6", "StableName": "sample string 7", "StabledSameAddress": true, "StableHouseName": "sample string 8", "StableHouseNumber": "sample string 9", "StableAddress1": "sample string 10", "StableAddress2": "sample string 11", "StableAddress3": "sample string 12", "StablePostcode": "sample string 13", "SpeciesId": "583ed956-607a-4480-be1b-4417abe2a7b8", "VetId": "5bb558a2-279d-418b-a9b1-7a472e7ed186", "VetChecked": true, "VettingCert": "190663ab-fd98-4222-976e-84a841f2ecea", "Vices": true }, "PolicyStartDate": "2025-08-27T03:32:50.5134503+01:00", "ProductId": "efd03830-4cab-41b4-abd6-c3f9aa3956dd", "PromoCode": "sample string 7", "SelectedCoverOptionId": "362480dc-29a4-40e7-b6bb-5e97eae2bfc6", "SelectedExtras": [ { "Id": "5aefedb1-8f0f-4425-87e0-572629a8e866", "Amount": 1.0 }, { "Id": "5aefedb1-8f0f-4425-87e0-572629a8e866", "Amount": 1.0 } ], "BehavioursVices": [ "a7d7aa54-d874-4169-a002-162eee79c385", "636e811d-65b9-472a-8e1a-d04b90ae7db1" ], "SelectedFixedExcessId": "32b59637-ba7b-4d66-b8e5-506006284204", "SelectedVariableExcessId": "96e73f6a-01f6-447c-af1c-49d64f0feec9", "TermsAgreed": true }
application/xml, text/xml
Sample:
<QuoteResponseEquine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <AffiliateId>f4895ecd-412a-48a6-ad97-563debc0bf79</AffiliateId> <BasketId>f5ba18d7-f624-4eb3-a687-5d2d77c11541</BasketId> <BehavioursVices xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>a7d7aa54-d874-4169-a002-162eee79c385</d2p1:guid> <d2p1:guid>636e811d-65b9-472a-8e1a-d04b90ae7db1</d2p1:guid> </BehavioursVices> <BrandId>abec3fcf-6d27-4e52-bb8b-2df84e16a545</BrandId> <CampaignId>a09d57af-ffa5-4f0f-9123-91e987b468b1</CampaignId> <Customer> <AddressLine1>sample string 1</AddressLine1> <AddressLine2>sample string 2</AddressLine2> <AddressLine3>sample string 3</AddressLine3> <CountryId>ac53426c-7891-4101-b1e0-508fd0e92848</CountryId> <County>sample string 4</County> <DateOfBirth>2025-08-27T03:32:50.5134503+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>d4400142-2514-4959-9cea-d0860556c10b</Id> <IsLocked>true</IsLocked> <LastName>sample string 12</LastName> <MarketingContactByEmail>true</MarketingContactByEmail> <MarketingContactByPhone>true</MarketingContactByPhone> <MarketingContactByPost>true</MarketingContactByPost> <MarketingContactBySMS>true</MarketingContactBySMS> <MobileNumber>sample string 13</MobileNumber> <Policies> <LoyaltyPolicyResponse> <Brand>sample string 3</Brand> <PetBreed>sample string 6</PetBreed> <PetDOB>2025-08-27T03:32:50.5134503+01:00</PetDOB> <PetName>sample string 7</PetName> <PetPhoto> <Data>QEA=</Data> <FileExtension>sample string 2</FileExtension> <Id>b3661f33-7f36-445a-8677-e91c62d7d95a</Id> <Size>3</Size> </PetPhoto> <PetSpecies>sample string 5</PetSpecies> <PolicyEffectiveFrom>2025-08-27T03:32:50.5134503+01:00</PolicyEffectiveFrom> <PolicyEffectiveTo>2025-08-27T03:32:50.5134503+01:00</PolicyEffectiveTo> <PolicyId>cc286864-6d67-4a6c-a5a7-2714e7cb23b2</PolicyId> <PolicyNumber>sample string 2</PolicyNumber> <Product>sample string 4</Product> </LoyaltyPolicyResponse> <LoyaltyPolicyResponse> <Brand>sample string 3</Brand> <PetBreed>sample string 6</PetBreed> <PetDOB>2025-08-27T03:32:50.5134503+01:00</PetDOB> <PetName>sample string 7</PetName> <PetPhoto> <Data>QEA=</Data> <FileExtension>sample string 2</FileExtension> <Id>b3661f33-7f36-445a-8677-e91c62d7d95a</Id> <Size>3</Size> </PetPhoto> <PetSpecies>sample string 5</PetSpecies> <PolicyEffectiveFrom>2025-08-27T03:32:50.5134503+01:00</PolicyEffectiveFrom> <PolicyEffectiveTo>2025-08-27T03:32:50.5134503+01:00</PolicyEffectiveTo> <PolicyId>cc286864-6d67-4a6c-a5a7-2714e7cb23b2</PolicyId> <PolicyNumber>sample string 2</PolicyNumber> <Product>sample string 4</Product> </LoyaltyPolicyResponse> </Policies> <PostCode>sample string 14</PostCode> <TitleId>07b90a87-cdb3-401a-876a-97f7d7fd1a44</TitleId> <Town>sample string 15</Town> </Customer> <Id>d12a2d0e-82dc-42b6-807c-3eda3724d502</Id> <Pet> <ActivityGroupId>48556cb5-bd87-4f53-aaf1-fff75493b059</ActivityGroupId> <Age>1</Age> <BehaviouralIssue>true</BehaviouralIssue> <BehavioursVices> <BehaviourVice> <Id>b63be879-d999-4f5b-a77f-72b752401244</Id> <Name>sample string 2</Name> <Option>Behaviour</Option> </BehaviourVice> <BehaviourVice> <Id>b63be879-d999-4f5b-a77f-72b752401244</Id> <Name>sample string 2</Name> <Option>Behaviour</Option> </BehaviourVice> </BehavioursVices> <Cost>1</Cost> <CurrMarketValue>1</CurrMarketValue> <DateOfBirth>2025-08-27T03:32:50.5134503+01:00</DateOfBirth> <DateOfBirthExact>true</DateOfBirthExact> <DeclaredDate>2025-08-27T03:32:50.5134503+01:00</DeclaredDate> <FreezeMarked>true</FreezeMarked> <HadPriorThirdPartyLiabilityClaim>true</HadPriorThirdPartyLiabilityClaim> <Hands>1</Hands> <HorseBreedId>b598d486-a168-4aed-86a1-20b1b22dca91</HorseBreedId> <HorseColourId>f217dbf7-3bc6-47f5-add2-93c27255ecad</HorseColourId> <Id>fe4007c7-a09d-4f24-b209-5ae02c725425</Id> <IllnessOrInjury>true</IllnessOrInjury> <Inches>1</Inches> <PassportID>sample string 5</PassportID> <PetTypeOfOwnershipId>2c35002c-5376-4ff4-82ab-310cd57849f7</PetTypeOfOwnershipId> <PolicyStartDate>2025-08-27T03:32:50.5134503+01:00</PolicyStartDate> <PreviousTpl>true</PreviousTpl> <PreviousTreatments>true</PreviousTreatments> <PurchaseDate>2025-08-27T03:32:50.5134503+01:00</PurchaseDate> <RegName>sample string 6</RegName> <SexId>05603a04-d781-43fe-abe9-bb33e59ac8ba</SexId> <SpeciesId>583ed956-607a-4480-be1b-4417abe2a7b8</SpeciesId> <StableAddress1>sample string 10</StableAddress1> <StableAddress2>sample string 11</StableAddress2> <StableAddress3>sample string 12</StableAddress3> <StableHouseName>sample string 8</StableHouseName> <StableHouseNumber>sample string 9</StableHouseNumber> <StableName>sample string 7</StableName> <StablePostcode>sample string 13</StablePostcode> <StabledSameAddress>true</StabledSameAddress> <VetChecked>true</VetChecked> <VetId>5bb558a2-279d-418b-a9b1-7a472e7ed186</VetId> <VettingCert>190663ab-fd98-4222-976e-84a841f2ecea</VettingCert> <Vices>true</Vices> </Pet> <PolicyStartDate>2025-08-27T03:32:50.5134503+01:00</PolicyStartDate> <ProductId>efd03830-4cab-41b4-abd6-c3f9aa3956dd</ProductId> <PromoCode>sample string 7</PromoCode> <SelectedCoverOptionId>362480dc-29a4-40e7-b6bb-5e97eae2bfc6</SelectedCoverOptionId> <SelectedExtras> <ExtraEquine> <Amount>1</Amount> <Id>5aefedb1-8f0f-4425-87e0-572629a8e866</Id> </ExtraEquine> <ExtraEquine> <Amount>1</Amount> <Id>5aefedb1-8f0f-4425-87e0-572629a8e866</Id> </ExtraEquine> </SelectedExtras> <SelectedFixedExcessId>32b59637-ba7b-4d66-b8e5-506006284204</SelectedFixedExcessId> <SelectedVariableExcessId>96e73f6a-01f6-447c-af1c-49d64f0feec9</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" /> <FixedExcess>1</FixedExcess> <Id>ec68afed-d7b3-4dbb-af58-1663d6d56a98</Id> <IsDefault>true</IsDefault> <MappingValue>1</MappingValue> <MultipetAmount>1</MultipetAmount> <MultipetPercentage>1</MultipetPercentage> <Name>sample string 2</Name> <Price>3</Price> <VariableExcess>1</VariableExcess> </CoverOption> <CoverOption> <AnnualPrice>1</AnnualPrice> <Features i:nil="true" /> <FixedExcess>1</FixedExcess> <Id>ec68afed-d7b3-4dbb-af58-1663d6d56a98</Id> <IsDefault>true</IsDefault> <MappingValue>1</MappingValue> <MultipetAmount>1</MultipetAmount> <MultipetPercentage>1</MultipetPercentage> <Name>sample string 2</Name> <Price>3</Price> <VariableExcess>1</VariableExcess> </CoverOption> </CoverOptions> <Discount> <Amount>1</Amount> <ApplyAtEnd>true</ApplyAtEnd> <ApplyAtStart>true</ApplyAtStart> <Code>sample string 4</Code> <Description>sample string 5</Description> <Id>0b40813c-1136-4289-b614-2ca7fbfa2ab3</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>2025-08-27T03:32:50.5134503+01:00</CollectionDate> </PaymentScheduleItem> <PaymentScheduleItem> <Amount>1</Amount> <CollectionDate>2025-08-27T03:32:50.5134503+01:00</CollectionDate> </PaymentScheduleItem> </PaymentSchedule> <QuoteNotificationSent>true</QuoteNotificationSent> <QuoteReference>sample string 4</QuoteReference> <VariableExcesses i:nil="true" /> </QuoteResponseEquine>