POST api/Breeder/AddUpdateLitterPet
Request Information
URI Parameters
None.
Body Parameters
LitterPetName | Description | Type | Additional 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": "7f2d98e9-3563-4833-803f-7c3ab7474ed0", "LitterId": "a7fa9d5a-07bf-4bcb-a1df-f896cf2193b5", "PolicyId": "4a3b6727-5cd2-4801-8e15-cd3cf15d0aaf", "PolicyNumber": "sample string 1", "PolicyEffectiveFrom": "2025-08-27T03:28:45.6366579+01:00", "Pet": { "ActivityGroups": [ { "Id": "3d0a5613-f9e7-4b69-a71f-91c5460a4e6a", "Name": "sample string 2", "Description": "sample string 3", "MappingValue": 1, "MtaOnly": true, "Priority": 1 }, { "Id": "3d0a5613-f9e7-4b69-a71f-91c5460a4e6a", "Name": "sample string 2", "Description": "sample string 3", "MappingValue": 1, "MtaOnly": true, "Priority": 1 } ], "AggressiveBehaviour": true, "BreedId": "691ce63f-6f1b-4ed9-817a-7da935429850", "Cost": 1.0, "DateOfBirth": "2025-08-27T03:28:45.6366579+01:00", "DateOfBirthExact": true, "GenderId": "399caf1e-6cf7-4fe7-8c12-7516d80745f5", "HadPriorThirdPartyLiabilityClaim": true, "Id": "02d3eb42-5af6-48a5-8bd6-f7602a0ca11d", "IllnessOrInjury": true, "IsMicrochipped": true, "IsNeutered": true, "IsVaccinated": true, "LastVaccinatedDate": "2025-08-27T03:28:45.6366579+01:00", "MicrochipNumber": "sample string 7", "Name": "sample string 8", "PolicyStartDate": "2025-08-27T03:28:45.6366579+01:00", "SpeciesId": "3e7497d7-6f09-43c6-a7fc-ee910615b1c0", "SubSpeciesId": "65a16103-6ae7-4a02-8305-848c42222796", "VetChecked": true, "VetId": "030badaf-6ae1-4f78-bc88-9c3082fe2082" } }
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>7f2d98e9-3563-4833-803f-7c3ab7474ed0</Id> <LitterId>a7fa9d5a-07bf-4bcb-a1df-f896cf2193b5</LitterId> <Pet> <ActivityGroups> <ActivityGroup> <Description>sample string 3</Description> <Id>3d0a5613-f9e7-4b69-a71f-91c5460a4e6a</Id> <MappingValue>1</MappingValue> <MtaOnly>true</MtaOnly> <Name>sample string 2</Name> <Priority>1</Priority> </ActivityGroup> <ActivityGroup> <Description>sample string 3</Description> <Id>3d0a5613-f9e7-4b69-a71f-91c5460a4e6a</Id> <MappingValue>1</MappingValue> <MtaOnly>true</MtaOnly> <Name>sample string 2</Name> <Priority>1</Priority> </ActivityGroup> </ActivityGroups> <AggressiveBehaviour>true</AggressiveBehaviour> <BreedId>691ce63f-6f1b-4ed9-817a-7da935429850</BreedId> <Cost>1</Cost> <DateOfBirth>2025-08-27T03:28:45.6366579+01:00</DateOfBirth> <DateOfBirthExact>true</DateOfBirthExact> <GenderId>399caf1e-6cf7-4fe7-8c12-7516d80745f5</GenderId> <HadPriorThirdPartyLiabilityClaim>true</HadPriorThirdPartyLiabilityClaim> <Id>02d3eb42-5af6-48a5-8bd6-f7602a0ca11d</Id> <IllnessOrInjury>true</IllnessOrInjury> <IsMicrochipped>true</IsMicrochipped> <IsNeutered>true</IsNeutered> <IsVaccinated>true</IsVaccinated> <LastVaccinatedDate>2025-08-27T03:28:45.6366579+01:00</LastVaccinatedDate> <MicrochipNumber>sample string 7</MicrochipNumber> <Name>sample string 8</Name> <PolicyStartDate>2025-08-27T03:28:45.6366579+01:00</PolicyStartDate> <SpeciesId>3e7497d7-6f09-43c6-a7fc-ee910615b1c0</SpeciesId> <SubSpeciesId>65a16103-6ae7-4a02-8305-848c42222796</SubSpeciesId> <VetChecked>true</VetChecked> <VetId>030badaf-6ae1-4f78-bc88-9c3082fe2082</VetId> </Pet> <PolicyEffectiveFrom>2025-08-27T03:28:45.6366579+01:00</PolicyEffectiveFrom> <PolicyId>4a3b6727-5cd2-4801-8e15-cd3cf15d0aaf</PolicyId> <PolicyNumber>sample string 1</PolicyNumber> </LitterPet>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LitterPetName | Description | Type | Additional 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": "396b2d4c-6816-4e30-a41b-3a6c0cb44ece", "LitterId": "df7c0aeb-7a8b-429c-bcd0-025bc4837bea", "PolicyId": "6b018df1-533b-4b95-9458-53687606248f", "PolicyNumber": "sample string 1", "PolicyEffectiveFrom": "2025-08-27T03:28:45.6366579+01:00", "Pet": { "ActivityGroups": [ { "Id": "f8ca258f-92c2-4908-8b58-5020fda3306e", "Name": "sample string 2", "Description": "sample string 3", "MappingValue": 1, "MtaOnly": true, "Priority": 1 }, { "Id": "f8ca258f-92c2-4908-8b58-5020fda3306e", "Name": "sample string 2", "Description": "sample string 3", "MappingValue": 1, "MtaOnly": true, "Priority": 1 } ], "AggressiveBehaviour": true, "BreedId": "d47beff6-023a-47ac-b1b2-e9498a9d9014", "Cost": 1.0, "DateOfBirth": "2025-08-27T03:28:45.6366579+01:00", "DateOfBirthExact": true, "GenderId": "dd066a15-2e0d-4c0c-90b4-e02e7cc68c10", "HadPriorThirdPartyLiabilityClaim": true, "Id": "ea268c2f-a3f7-401b-b6a9-84d8b2eb9be4", "IllnessOrInjury": true, "IsMicrochipped": true, "IsNeutered": true, "IsVaccinated": true, "LastVaccinatedDate": "2025-08-27T03:28:45.6366579+01:00", "MicrochipNumber": "sample string 7", "Name": "sample string 8", "PolicyStartDate": "2025-08-27T03:28:45.6366579+01:00", "SpeciesId": "5f97387a-be01-487e-a3e2-d44664b521bd", "SubSpeciesId": "972138c6-a96f-4fd3-bdec-568abe7d9e75", "VetChecked": true, "VetId": "efb051d4-4215-48b4-bea7-a5be823098cf" } }
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>396b2d4c-6816-4e30-a41b-3a6c0cb44ece</Id> <LitterId>df7c0aeb-7a8b-429c-bcd0-025bc4837bea</LitterId> <Pet> <ActivityGroups> <ActivityGroup> <Description>sample string 3</Description> <Id>f8ca258f-92c2-4908-8b58-5020fda3306e</Id> <MappingValue>1</MappingValue> <MtaOnly>true</MtaOnly> <Name>sample string 2</Name> <Priority>1</Priority> </ActivityGroup> <ActivityGroup> <Description>sample string 3</Description> <Id>f8ca258f-92c2-4908-8b58-5020fda3306e</Id> <MappingValue>1</MappingValue> <MtaOnly>true</MtaOnly> <Name>sample string 2</Name> <Priority>1</Priority> </ActivityGroup> </ActivityGroups> <AggressiveBehaviour>true</AggressiveBehaviour> <BreedId>d47beff6-023a-47ac-b1b2-e9498a9d9014</BreedId> <Cost>1</Cost> <DateOfBirth>2025-08-27T03:28:45.6366579+01:00</DateOfBirth> <DateOfBirthExact>true</DateOfBirthExact> <GenderId>dd066a15-2e0d-4c0c-90b4-e02e7cc68c10</GenderId> <HadPriorThirdPartyLiabilityClaim>true</HadPriorThirdPartyLiabilityClaim> <Id>ea268c2f-a3f7-401b-b6a9-84d8b2eb9be4</Id> <IllnessOrInjury>true</IllnessOrInjury> <IsMicrochipped>true</IsMicrochipped> <IsNeutered>true</IsNeutered> <IsVaccinated>true</IsVaccinated> <LastVaccinatedDate>2025-08-27T03:28:45.6366579+01:00</LastVaccinatedDate> <MicrochipNumber>sample string 7</MicrochipNumber> <Name>sample string 8</Name> <PolicyStartDate>2025-08-27T03:28:45.6366579+01:00</PolicyStartDate> <SpeciesId>5f97387a-be01-487e-a3e2-d44664b521bd</SpeciesId> <SubSpeciesId>972138c6-a96f-4fd3-bdec-568abe7d9e75</SubSpeciesId> <VetChecked>true</VetChecked> <VetId>efb051d4-4215-48b4-bea7-a5be823098cf</VetId> </Pet> <PolicyEffectiveFrom>2025-08-27T03:28:45.6366579+01:00</PolicyEffectiveFrom> <PolicyId>6b018df1-533b-4b95-9458-53687606248f</PolicyId> <PolicyNumber>sample string 1</PolicyNumber> </LitterPet>