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": "9812a0db-215d-4648-864f-152aa9f02e0f",
"PetID": "4c833f68-17f8-41a7-8624-cc64207adcc6",
"FatherID": "0ef53478-049b-444e-b028-556651b58e57",
"MotherID": "8e0b8469-6c0e-412a-86a7-495fe6a463c0",
"Organization": "sample string 2",
"CertificateURL": "sample string 3",
"Lineage": "sample string 4",
"CreatedDate": "2026-06-22T11:10:51.975521+07:00",
"CreatedBy": "sample string 5",
"UpdatedDate": "2026-06-22T11:10:51.975521+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-06-22T11:10:51.975521+07:00</CreatedDate> <FatherID>0ef53478-049b-444e-b028-556651b58e57</FatherID> <Id>9812a0db-215d-4648-864f-152aa9f02e0f</Id> <Lineage>sample string 4</Lineage> <ModifiedBy>sample string 6</ModifiedBy> <MotherID>8e0b8469-6c0e-412a-86a7-495fe6a463c0</MotherID> <Organization>sample string 2</Organization> <PetID>4c833f68-17f8-41a7-8624-cc64207adcc6</PetID> <UpdatedDate>2026-06-22T11:10:51.975521+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.