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": "4d042a28-3f02-4159-8fd2-3c15dc9838a0",
"PurchasePrice": 4.0,
"BreedId": "55bc0e66-cf51-4a73-92a9-f4a6e33283ee"
},
{
"IllnessOrInjury": true,
"Name": "sample string 2",
"PetId": "4d042a28-3f02-4159-8fd2-3c15dc9838a0",
"PurchasePrice": 4.0,
"BreedId": "55bc0e66-cf51-4a73-92a9-f4a6e33283ee"
}
]
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>55bc0e66-cf51-4a73-92a9-f4a6e33283ee</BreedId>
<IllnessOrInjury>true</IllnessOrInjury>
<Name>sample string 2</Name>
<PetId>4d042a28-3f02-4159-8fd2-3c15dc9838a0</PetId>
<PurchasePrice>4</PurchasePrice>
</ActivateFreeCoverRequestItem>
<ActivateFreeCoverRequestItem>
<BreedId>55bc0e66-cf51-4a73-92a9-f4a6e33283ee</BreedId>
<IllnessOrInjury>true</IllnessOrInjury>
<Name>sample string 2</Name>
<PetId>4d042a28-3f02-4159-8fd2-3c15dc9838a0</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": "35e354da-9cd7-40ca-b3f4-c1e068693290",
"County": "sample string 4",
"DateOfBirth": "2026-02-04T01:08:56.9663161+00: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": "948e64a4-6be3-440b-80e2-3eda4f1c1666",
"IsLocked": true,
"LastName": "sample string 12",
"MobileNumber": "sample string 13",
"PostCode": "sample string 14",
"TitleId": "489457cf-052d-4cd9-81cb-e4e97ed7f3eb",
"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>35e354da-9cd7-40ca-b3f4-c1e068693290</CountryId>
<County>sample string 4</County>
<DateOfBirth>2026-02-04T01:08:56.9663161+00: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>948e64a4-6be3-440b-80e2-3eda4f1c1666</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>489457cf-052d-4cd9-81cb-e4e97ed7f3eb</TitleId>
<Town>sample string 15</Town>
</Customer>
<Policies i:nil="true" />
</ActivateFreeCoverResponse>