POST api/TransferCover/ActivateFreeCover?ownerTelephone={ownerTelephone}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ownerTelephone | string |
Required |
Body Parameters
Collection of ActivateFreeCoverRequestItem| Name | 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": "e801ac7a-408d-42d4-8868-596f643a0f8c",
"PurchasePrice": 4.0,
"BreedId": "91ada56e-ba92-4b5e-bf6b-1ffb3be9fd22"
},
{
"IllnessOrInjury": true,
"Name": "sample string 2",
"PetId": "e801ac7a-408d-42d4-8868-596f643a0f8c",
"PurchasePrice": 4.0,
"BreedId": "91ada56e-ba92-4b5e-bf6b-1ffb3be9fd22"
}
]
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>91ada56e-ba92-4b5e-bf6b-1ffb3be9fd22</BreedId>
<IllnessOrInjury>true</IllnessOrInjury>
<Name>sample string 2</Name>
<PetId>e801ac7a-408d-42d4-8868-596f643a0f8c</PetId>
<PurchasePrice>4</PurchasePrice>
</ActivateFreeCoverRequestItem>
<ActivateFreeCoverRequestItem>
<BreedId>91ada56e-ba92-4b5e-bf6b-1ffb3be9fd22</BreedId>
<IllnessOrInjury>true</IllnessOrInjury>
<Name>sample string 2</Name>
<PetId>e801ac7a-408d-42d4-8868-596f643a0f8c</PetId>
<PurchasePrice>4</PurchasePrice>
</ActivateFreeCoverRequestItem>
</ArrayOfActivateFreeCoverRequestItem>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ActivateFreeCoverResponse| Name | 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": "f068c2e9-b4cd-4b1e-860d-dc0ea6fc89e8",
"County": "sample string 4",
"DateOfBirth": "2026-05-09T12:58:20.4074134+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": "55fe78a8-48d2-480e-b38b-d56d753ddea2",
"IsLocked": true,
"LastName": "sample string 12",
"MobileNumber": "sample string 13",
"PostCode": "sample string 14",
"TitleId": "66c4ee1c-ed03-492a-9826-681edee9e009",
"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>f068c2e9-b4cd-4b1e-860d-dc0ea6fc89e8</CountryId>
<County>sample string 4</County>
<DateOfBirth>2026-05-09T12:58:20.4074134+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>55fe78a8-48d2-480e-b38b-d56d753ddea2</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>66c4ee1c-ed03-492a-9826-681edee9e009</TitleId>
<Town>sample string 15</Town>
</Customer>
<Policies i:nil="true" />
</ActivateFreeCoverResponse>