POST api/Breeder/AddUpdateLitterPet

Request Information

URI Parameters

None.

Body Parameters

LitterPet
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

LitterId

globally unique identifier

None.

PolicyId

globally unique identifier

None.

PolicyNumber

string

None.

PolicyEffectiveFrom

date

None.

Pet

Pet

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "6f2f7f64-a5c9-4422-ad91-7d6143161d2e",
  "LitterId": "6b4a519b-a87a-4de5-a6b8-72d824e808ee",
  "PolicyId": "850575a4-3b9b-4235-a9ed-c851a4b93b45",
  "PolicyNumber": "sample string 1",
  "PolicyEffectiveFrom": "2025-07-07T16:04:18.4766545+01:00",
  "Pet": {
    "IsNextVacVetChecked": true,
    "BreedId": "69030787-ba09-47a0-91d1-d6480c0191f7",
    "Cost": 1.0,
    "DateOfBirth": "2025-07-07T16:04:18.4766545+01:00",
    "DateOfBirthExact": true,
    "GenderId": "e2271123-9e92-4b5c-b5fc-a3bfab565e1a",
    "HadPriorThirdPartyLiabilityClaim": true,
    "Id": "054c2031-d55a-473d-8d6e-1480fc8bf436",
    "IllnessOrInjury": true,
    "LastVaccinatedDate": "2025-07-07T16:04:18.4766545+01:00",
    "MicrochipNumber": "sample string 7",
    "Name": "sample string 8",
    "PolicyStartDate": "2025-07-07T16:04:18.4766545+01:00",
    "PetSizeId": "298efd01-a857-4bc8-ab6d-c43fba8e6cc3",
    "SpeciesId": "b746beba-112c-40ad-8705-3024db67c45e",
    "Vaccinated": true,
    "VetId": "8997898c-b540-41d5-bead-adecd2581fff",
    "VetChecked": true
  }
}

application/xml, text/xml

Sample:
<LitterPet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models">
  <Id>6f2f7f64-a5c9-4422-ad91-7d6143161d2e</Id>
  <LitterId>6b4a519b-a87a-4de5-a6b8-72d824e808ee</LitterId>
  <Pet>
    <BreedId>69030787-ba09-47a0-91d1-d6480c0191f7</BreedId>
    <Cost>1</Cost>
    <DateOfBirth>2025-07-07T16:04:18.4766545+01:00</DateOfBirth>
    <DateOfBirthExact>true</DateOfBirthExact>
    <GenderId>e2271123-9e92-4b5c-b5fc-a3bfab565e1a</GenderId>
    <HadPriorThirdPartyLiabilityClaim>true</HadPriorThirdPartyLiabilityClaim>
    <Id>054c2031-d55a-473d-8d6e-1480fc8bf436</Id>
    <IllnessOrInjury>true</IllnessOrInjury>
    <IsNextVacVetChecked>true</IsNextVacVetChecked>
    <LastVaccinatedDate>2025-07-07T16:04:18.4766545+01:00</LastVaccinatedDate>
    <MicrochipNumber>sample string 7</MicrochipNumber>
    <Name>sample string 8</Name>
    <PetSizeId>298efd01-a857-4bc8-ab6d-c43fba8e6cc3</PetSizeId>
    <PolicyStartDate>2025-07-07T16:04:18.4766545+01:00</PolicyStartDate>
    <SpeciesId>b746beba-112c-40ad-8705-3024db67c45e</SpeciesId>
    <Vaccinated>true</Vaccinated>
    <VetChecked>true</VetChecked>
    <VetId>8997898c-b540-41d5-bead-adecd2581fff</VetId>
  </Pet>
  <PolicyEffectiveFrom>2025-07-07T16:04:18.4766545+01:00</PolicyEffectiveFrom>
  <PolicyId>850575a4-3b9b-4235-a9ed-c851a4b93b45</PolicyId>
  <PolicyNumber>sample string 1</PolicyNumber>
</LitterPet>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LitterPet
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

LitterId

globally unique identifier

None.

PolicyId

globally unique identifier

None.

PolicyNumber

string

None.

PolicyEffectiveFrom

date

None.

Pet

Pet

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "173c07ef-057c-45a0-966c-ad41508cee8a",
  "LitterId": "54ad4f8e-3bcb-4bec-8318-d69a78e70055",
  "PolicyId": "3a1e559f-ddc1-4048-9479-64deeed7b55a",
  "PolicyNumber": "sample string 1",
  "PolicyEffectiveFrom": "2025-07-07T16:04:18.4766545+01:00",
  "Pet": {
    "IsNextVacVetChecked": true,
    "BreedId": "04d9a6ae-3962-4647-95c1-c20c5911201b",
    "Cost": 1.0,
    "DateOfBirth": "2025-07-07T16:04:18.4766545+01:00",
    "DateOfBirthExact": true,
    "GenderId": "92cb022d-c5b1-4c7a-8efe-6afa9d74cb4b",
    "HadPriorThirdPartyLiabilityClaim": true,
    "Id": "3a9f3ce8-7217-4311-829a-9f142cd3fa55",
    "IllnessOrInjury": true,
    "LastVaccinatedDate": "2025-07-07T16:04:18.4766545+01:00",
    "MicrochipNumber": "sample string 7",
    "Name": "sample string 8",
    "PolicyStartDate": "2025-07-07T16:04:18.4766545+01:00",
    "PetSizeId": "2105a5a0-9458-44ee-935a-cd59c4f3e473",
    "SpeciesId": "f26bd3df-f58d-4245-8152-a674b60979d3",
    "Vaccinated": true,
    "VetId": "3fc3eb70-07e5-48cc-a7c7-023fd4737967",
    "VetChecked": true
  }
}

application/xml, text/xml

Sample:
<LitterPet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models">
  <Id>173c07ef-057c-45a0-966c-ad41508cee8a</Id>
  <LitterId>54ad4f8e-3bcb-4bec-8318-d69a78e70055</LitterId>
  <Pet>
    <BreedId>04d9a6ae-3962-4647-95c1-c20c5911201b</BreedId>
    <Cost>1</Cost>
    <DateOfBirth>2025-07-07T16:04:18.4766545+01:00</DateOfBirth>
    <DateOfBirthExact>true</DateOfBirthExact>
    <GenderId>92cb022d-c5b1-4c7a-8efe-6afa9d74cb4b</GenderId>
    <HadPriorThirdPartyLiabilityClaim>true</HadPriorThirdPartyLiabilityClaim>
    <Id>3a9f3ce8-7217-4311-829a-9f142cd3fa55</Id>
    <IllnessOrInjury>true</IllnessOrInjury>
    <IsNextVacVetChecked>true</IsNextVacVetChecked>
    <LastVaccinatedDate>2025-07-07T16:04:18.4766545+01:00</LastVaccinatedDate>
    <MicrochipNumber>sample string 7</MicrochipNumber>
    <Name>sample string 8</Name>
    <PetSizeId>2105a5a0-9458-44ee-935a-cd59c4f3e473</PetSizeId>
    <PolicyStartDate>2025-07-07T16:04:18.4766545+01:00</PolicyStartDate>
    <SpeciesId>f26bd3df-f58d-4245-8152-a674b60979d3</SpeciesId>
    <Vaccinated>true</Vaccinated>
    <VetChecked>true</VetChecked>
    <VetId>3fc3eb70-07e5-48cc-a7c7-023fd4737967</VetId>
  </Pet>
  <PolicyEffectiveFrom>2025-07-07T16:04:18.4766545+01:00</PolicyEffectiveFrom>
  <PolicyId>3a1e559f-ddc1-4048-9479-64deeed7b55a</PolicyId>
  <PolicyNumber>sample string 1</PolicyNumber>
</LitterPet>