POST PetPedigree/Add
Request Information
URI Parameters
None.
Body Parameters
PET_PEDIGREE| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| PetID | globally unique identifier |
None. |
|
| FatherID | globally unique identifier |
None. |
|
| MotherID | globally unique identifier |
None. |
|
| Organization | string |
None. |
|
| CertificateURL | string |
None. |
|
| Lineage | string |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | string |
None. |
|
| UpdatedDate | date |
None. |
|
| ModifiedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "46b62840-b078-4011-9185-c7de18804d06",
"PetID": "71e47eac-abab-4a9a-8d3d-56cbe0ad0131",
"FatherID": "4c3c02bf-459a-40f8-8db5-60666cafd675",
"MotherID": "e49a5049-18dc-40c9-b17a-f29d22bcfabc",
"Organization": "sample string 2",
"CertificateURL": "sample string 3",
"Lineage": "sample string 4",
"CreatedDate": "2026-10-20T08:02:29.9535619+07:00",
"CreatedBy": "sample string 5",
"UpdatedDate": "2026-10-20T08:02:29.9535619+07:00",
"ModifiedBy": "sample string 6"
}
application/xml, text/xml
Sample:
<PET_PEDIGREE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetShop.API.Models"> <CertificateURL>sample string 3</CertificateURL> <CreatedBy>sample string 5</CreatedBy> <CreatedDate>2026-10-20T08:02:29.9535619+07:00</CreatedDate> <FatherID>4c3c02bf-459a-40f8-8db5-60666cafd675</FatherID> <Id>46b62840-b078-4011-9185-c7de18804d06</Id> <Lineage>sample string 4</Lineage> <ModifiedBy>sample string 6</ModifiedBy> <MotherID>e49a5049-18dc-40c9-b17a-f29d22bcfabc</MotherID> <Organization>sample string 2</Organization> <PetID>71e47eac-abab-4a9a-8d3d-56cbe0ad0131</PetID> <UpdatedDate>2026-10-20T08:02:29.9535619+07:00</UpdatedDate> </PET_PEDIGREE>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.