GET api/Quote/GetRenewalQuoteEquine?policyNumber={policyNumber}&postcode={postcode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
policyNumber | 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": "968092e6-eb89-443a-aed2-862fd7cc1ceb", "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": "968092e6-eb89-443a-aed2-862fd7cc1ceb", "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": "639ff663-01cc-40c5-820e-28a32025f39f", "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:34:55.7331737+01:00" }, { "Amount": 1.0, "CollectionDate": "2025-08-27T03:34:55.7331737+01:00" } ], "QuoteNotificationSent": true, "QuoteReference": "sample string 4", "VariableExcesses": null, "MultipetPercentage": 1.0, "MultipetAmount": 1.0, "AffiliateId": "2e45fb0a-78e6-4035-b0e2-98d806cb7b5b", "BasketId": "de1de07e-80f2-4d42-9588-a299c04386a6", "BrandId": "d5166483-207a-4f8f-b04d-7582e5d24128", "CampaignId": "cfadefb0-9fc5-49b0-b620-3c2d086b0de7", "Customer": { "AddressLine1": "sample string 1", "AddressLine2": "sample string 2", "AddressLine3": "sample string 3", "CountryId": "35e63710-5157-4281-a65f-74423783a4e8", "County": "sample string 4", "DateOfBirth": "2025-08-27T03:34:55.7331737+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": "48a7db0e-315b-4be0-ae43-ac794b29aded", "IsLocked": true, "LastName": "sample string 12", "MobileNumber": "sample string 13", "PostCode": "sample string 14", "TitleId": "e826226f-0768-45d9-80ee-f96f6c21d6ae", "Town": "sample string 15", "MarketingContactByEmail": true, "MarketingContactByPhone": true, "MarketingContactByPost": true, "MarketingContactBySMS": true, "Policies": [ { "PolicyId": "e12e36a3-1cce-457a-aee6-4ff8b2de1399", "PolicyNumber": "sample string 2", "PolicyEffectiveFrom": "2025-08-27T03:34:55.7331737+01:00", "PolicyEffectiveTo": "2025-08-27T03:34:55.7331737+01:00", "Brand": "sample string 3", "Product": "sample string 4", "PetSpecies": "sample string 5", "PetDOB": "2025-08-27T03:34:55.7331737+01:00", "PetBreed": "sample string 6", "PetName": "sample string 7", "PetPhoto": { "Id": "a1e2ce79-0318-495d-a349-3b6d6eb33b21", "FileExtension": "sample string 2", "Size": 3, "Data": "QEA=" } }, { "PolicyId": "e12e36a3-1cce-457a-aee6-4ff8b2de1399", "PolicyNumber": "sample string 2", "PolicyEffectiveFrom": "2025-08-27T03:34:55.7331737+01:00", "PolicyEffectiveTo": "2025-08-27T03:34:55.7331737+01:00", "Brand": "sample string 3", "Product": "sample string 4", "PetSpecies": "sample string 5", "PetDOB": "2025-08-27T03:34:55.7331737+01:00", "PetBreed": "sample string 6", "PetName": "sample string 7", "PetPhoto": { "Id": "a1e2ce79-0318-495d-a349-3b6d6eb33b21", "FileExtension": "sample string 2", "Size": 3, "Data": "QEA=" } } ] }, "Id": "ea6e840e-6804-4f84-bb05-cfcf83b81036", "Pet": { "ActivityGroupId": "858703e6-a278-4420-9461-e9b5d6ef39ec", "Age": 1, "HorseBreedId": "5266a191-7dc8-42c4-a825-de68358f7aab", "BehaviouralIssue": true, "BehavioursVices": [ { "Id": "56bf5b8b-5262-4854-a140-398ff3ed3359", "Name": "sample string 2", "Option": 0 }, { "Id": "56bf5b8b-5262-4854-a140-398ff3ed3359", "Name": "sample string 2", "Option": 0 } ], "Cost": 1.0, "CurrMarketValue": 1.0, "DateOfBirth": "2025-08-27T03:34:55.7331737+01:00", "DateOfBirthExact": true, "DeclaredDate": "2025-08-27T03:34:55.7331737+01:00", "FreezeMarked": true, "SexId": "0b23e3f0-1643-4122-8e5e-096923faf121", "HadPriorThirdPartyLiabilityClaim": true, "Hands": 1, "HorseColourId": "36cb530e-59b0-4480-ac0b-d7a16813fddc", "Inches": 1, "Id": "487a5508-922d-46fc-8e30-67fb9d3ed14f", "IllnessOrInjury": true, "PassportID": "sample string 5", "PetTypeOfOwnershipId": "542fe79a-2986-47cd-ba25-de94c2cbfd59", "PolicyStartDate": "2025-08-27T03:34:55.7331737+01:00", "PreviousTpl": true, "PreviousTreatments": true, "PurchaseDate": "2025-08-27T03:34:55.7331737+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": "29791ead-cf71-4486-abd3-dddd3c8e59d0", "VetId": "52b9de6b-82f7-4dae-8f6c-fa1e5ece2422", "VetChecked": true, "VettingCert": "321fb7e3-dc58-44c0-8cc9-c2050fc4835b", "Vices": true }, "PolicyStartDate": "2025-08-27T03:34:55.7331737+01:00", "ProductId": "554a9226-abbf-4fb8-a22a-3767016da3b3", "PromoCode": "sample string 7", "SelectedCoverOptionId": "ecf9a235-2d7b-4fdd-b45c-d5c4a3d38850", "SelectedExtras": [ { "Id": "0046eed3-cc9c-4f9d-9c4a-1b089028ad43", "Amount": 1.0 }, { "Id": "0046eed3-cc9c-4f9d-9c4a-1b089028ad43", "Amount": 1.0 } ], "BehavioursVices": [ "983003d6-9aab-4bd6-8da8-8c27714854c3", "90c418a7-a88e-4d80-89b7-9d8bb5055204" ], "SelectedFixedExcessId": "868c0aa0-079a-4c57-8fab-12358a99b12d", "SelectedVariableExcessId": "68fa9de7-6e9e-4275-a712-a3ee46d1d848", "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>2e45fb0a-78e6-4035-b0e2-98d806cb7b5b</AffiliateId> <BasketId>de1de07e-80f2-4d42-9588-a299c04386a6</BasketId> <BehavioursVices xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>983003d6-9aab-4bd6-8da8-8c27714854c3</d2p1:guid> <d2p1:guid>90c418a7-a88e-4d80-89b7-9d8bb5055204</d2p1:guid> </BehavioursVices> <BrandId>d5166483-207a-4f8f-b04d-7582e5d24128</BrandId> <CampaignId>cfadefb0-9fc5-49b0-b620-3c2d086b0de7</CampaignId> <Customer> <AddressLine1>sample string 1</AddressLine1> <AddressLine2>sample string 2</AddressLine2> <AddressLine3>sample string 3</AddressLine3> <CountryId>35e63710-5157-4281-a65f-74423783a4e8</CountryId> <County>sample string 4</County> <DateOfBirth>2025-08-27T03:34:55.7331737+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>48a7db0e-315b-4be0-ae43-ac794b29aded</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:34:55.7331737+01:00</PetDOB> <PetName>sample string 7</PetName> <PetPhoto> <Data>QEA=</Data> <FileExtension>sample string 2</FileExtension> <Id>a1e2ce79-0318-495d-a349-3b6d6eb33b21</Id> <Size>3</Size> </PetPhoto> <PetSpecies>sample string 5</PetSpecies> <PolicyEffectiveFrom>2025-08-27T03:34:55.7331737+01:00</PolicyEffectiveFrom> <PolicyEffectiveTo>2025-08-27T03:34:55.7331737+01:00</PolicyEffectiveTo> <PolicyId>e12e36a3-1cce-457a-aee6-4ff8b2de1399</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:34:55.7331737+01:00</PetDOB> <PetName>sample string 7</PetName> <PetPhoto> <Data>QEA=</Data> <FileExtension>sample string 2</FileExtension> <Id>a1e2ce79-0318-495d-a349-3b6d6eb33b21</Id> <Size>3</Size> </PetPhoto> <PetSpecies>sample string 5</PetSpecies> <PolicyEffectiveFrom>2025-08-27T03:34:55.7331737+01:00</PolicyEffectiveFrom> <PolicyEffectiveTo>2025-08-27T03:34:55.7331737+01:00</PolicyEffectiveTo> <PolicyId>e12e36a3-1cce-457a-aee6-4ff8b2de1399</PolicyId> <PolicyNumber>sample string 2</PolicyNumber> <Product>sample string 4</Product> </LoyaltyPolicyResponse> </Policies> <PostCode>sample string 14</PostCode> <TitleId>e826226f-0768-45d9-80ee-f96f6c21d6ae</TitleId> <Town>sample string 15</Town> </Customer> <Id>ea6e840e-6804-4f84-bb05-cfcf83b81036</Id> <Pet> <ActivityGroupId>858703e6-a278-4420-9461-e9b5d6ef39ec</ActivityGroupId> <Age>1</Age> <BehaviouralIssue>true</BehaviouralIssue> <BehavioursVices> <BehaviourVice> <Id>56bf5b8b-5262-4854-a140-398ff3ed3359</Id> <Name>sample string 2</Name> <Option>Behaviour</Option> </BehaviourVice> <BehaviourVice> <Id>56bf5b8b-5262-4854-a140-398ff3ed3359</Id> <Name>sample string 2</Name> <Option>Behaviour</Option> </BehaviourVice> </BehavioursVices> <Cost>1</Cost> <CurrMarketValue>1</CurrMarketValue> <DateOfBirth>2025-08-27T03:34:55.7331737+01:00</DateOfBirth> <DateOfBirthExact>true</DateOfBirthExact> <DeclaredDate>2025-08-27T03:34:55.7331737+01:00</DeclaredDate> <FreezeMarked>true</FreezeMarked> <HadPriorThirdPartyLiabilityClaim>true</HadPriorThirdPartyLiabilityClaim> <Hands>1</Hands> <HorseBreedId>5266a191-7dc8-42c4-a825-de68358f7aab</HorseBreedId> <HorseColourId>36cb530e-59b0-4480-ac0b-d7a16813fddc</HorseColourId> <Id>487a5508-922d-46fc-8e30-67fb9d3ed14f</Id> <IllnessOrInjury>true</IllnessOrInjury> <Inches>1</Inches> <PassportID>sample string 5</PassportID> <PetTypeOfOwnershipId>542fe79a-2986-47cd-ba25-de94c2cbfd59</PetTypeOfOwnershipId> <PolicyStartDate>2025-08-27T03:34:55.7331737+01:00</PolicyStartDate> <PreviousTpl>true</PreviousTpl> <PreviousTreatments>true</PreviousTreatments> <PurchaseDate>2025-08-27T03:34:55.7331737+01:00</PurchaseDate> <RegName>sample string 6</RegName> <SexId>0b23e3f0-1643-4122-8e5e-096923faf121</SexId> <SpeciesId>29791ead-cf71-4486-abd3-dddd3c8e59d0</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>52b9de6b-82f7-4dae-8f6c-fa1e5ece2422</VetId> <VettingCert>321fb7e3-dc58-44c0-8cc9-c2050fc4835b</VettingCert> <Vices>true</Vices> </Pet> <PolicyStartDate>2025-08-27T03:34:55.7331737+01:00</PolicyStartDate> <ProductId>554a9226-abbf-4fb8-a22a-3767016da3b3</ProductId> <PromoCode>sample string 7</PromoCode> <SelectedCoverOptionId>ecf9a235-2d7b-4fdd-b45c-d5c4a3d38850</SelectedCoverOptionId> <SelectedExtras> <ExtraEquine> <Amount>1</Amount> <Id>0046eed3-cc9c-4f9d-9c4a-1b089028ad43</Id> </ExtraEquine> <ExtraEquine> <Amount>1</Amount> <Id>0046eed3-cc9c-4f9d-9c4a-1b089028ad43</Id> </ExtraEquine> </SelectedExtras> <SelectedFixedExcessId>868c0aa0-079a-4c57-8fab-12358a99b12d</SelectedFixedExcessId> <SelectedVariableExcessId>68fa9de7-6e9e-4275-a712-a3ee46d1d848</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>968092e6-eb89-443a-aed2-862fd7cc1ceb</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>968092e6-eb89-443a-aed2-862fd7cc1ceb</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>639ff663-01cc-40c5-820e-28a32025f39f</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:34:55.7331737+01:00</CollectionDate> </PaymentScheduleItem> <PaymentScheduleItem> <Amount>1</Amount> <CollectionDate>2025-08-27T03:34:55.7331737+01:00</CollectionDate> </PaymentScheduleItem> </PaymentSchedule> <QuoteNotificationSent>true</QuoteNotificationSent> <QuoteReference>sample string 4</QuoteReference> <VariableExcesses i:nil="true" /> </QuoteResponseEquine>