POST api/TransferCover/ActivateFreeCover?ownerTelephone={ownerTelephone}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ownerTelephone | string |
Required |
Body Parameters
Collection of ActivateFreeCoverRequestItemName | Description | Type | Additional information |
---|---|---|---|
IllnessOrInjury | boolean |
None. |
|
Name | string |
None. |
|
PetId | globally unique identifier |
None. |
|
PurchasePrice | decimal number |
None. |
|
BreedId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
[ { "IllnessOrInjury": true, "Name": "sample string 2", "PetId": "2ac37d92-4ec2-453a-8094-6e589724b7c4", "PurchasePrice": 4.0, "BreedId": "acd3b5d7-3647-4114-a6ac-bc8919430fd4" }, { "IllnessOrInjury": true, "Name": "sample string 2", "PetId": "2ac37d92-4ec2-453a-8094-6e589724b7c4", "PurchasePrice": 4.0, "BreedId": "acd3b5d7-3647-4114-a6ac-bc8919430fd4" } ]
application/xml, text/xml
Sample:
<ArrayOfActivateFreeCoverRequestItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <ActivateFreeCoverRequestItem> <BreedId>acd3b5d7-3647-4114-a6ac-bc8919430fd4</BreedId> <IllnessOrInjury>true</IllnessOrInjury> <Name>sample string 2</Name> <PetId>2ac37d92-4ec2-453a-8094-6e589724b7c4</PetId> <PurchasePrice>4</PurchasePrice> </ActivateFreeCoverRequestItem> <ActivateFreeCoverRequestItem> <BreedId>acd3b5d7-3647-4114-a6ac-bc8919430fd4</BreedId> <IllnessOrInjury>true</IllnessOrInjury> <Name>sample string 2</Name> <PetId>2ac37d92-4ec2-453a-8094-6e589724b7c4</PetId> <PurchasePrice>4</PurchasePrice> </ActivateFreeCoverRequestItem> </ArrayOfActivateFreeCoverRequestItem>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ActivateFreeCoverResponseName | Description | Type | Additional information |
---|---|---|---|
Customer | Customer |
None. |
|
Policies | Collection of ActivateFreeCoverResponseItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "Customer": { "AddressLine1": "sample string 1", "AddressLine2": "sample string 2", "AddressLine3": "sample string 3", "CountryId": "7be8a4b9-79e5-4250-95a1-d3e287227e0b", "County": "sample string 4", "DateOfBirth": "2025-09-13T03:19:31.3616483+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": "d27dd560-f25d-4b18-945d-df17ab76d003", "IsLocked": true, "LastName": "sample string 12", "MobileNumber": "sample string 13", "PostCode": "sample string 14", "TitleId": "0a0647ab-9efb-4808-8b48-1c8c1f4969b8", "Town": "sample string 15", "MarketingContactByEmail": true, "MarketingContactByPhone": true, "MarketingContactBySMS": true }, "Policies": null }
application/xml, text/xml
Sample:
<ActivateFreeCoverResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <Customer> <AddressLine1>sample string 1</AddressLine1> <AddressLine2>sample string 2</AddressLine2> <AddressLine3>sample string 3</AddressLine3> <CountryId>7be8a4b9-79e5-4250-95a1-d3e287227e0b</CountryId> <County>sample string 4</County> <DateOfBirth>2025-09-13T03:19:31.3616483+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>d27dd560-f25d-4b18-945d-df17ab76d003</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>0a0647ab-9efb-4808-8b48-1c8c1f4969b8</TitleId> <Town>sample string 15</Town> </Customer> <Policies i:nil="true" /> </ActivateFreeCoverResponse>