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": "9de9fbc1-83dc-4749-baa7-19d050b4b69e",
"PetID": "c6b92b80-0ca1-456c-85f6-115b26591d66",
"FatherID": "8969c7ac-f608-4d18-8ae2-ac2e08686a8d",
"MotherID": "5dbce187-485b-40e9-bba1-eaee65db856f",
"Organization": "sample string 2",
"CertificateURL": "sample string 3",
"Lineage": "sample string 4",
"CreatedDate": "2026-01-23T04:06:28.6605046+07:00",
"CreatedBy": "sample string 5",
"UpdatedDate": "2026-01-23T04:06:28.6605046+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-01-23T04:06:28.6605046+07:00</CreatedDate> <FatherID>8969c7ac-f608-4d18-8ae2-ac2e08686a8d</FatherID> <Id>9de9fbc1-83dc-4749-baa7-19d050b4b69e</Id> <Lineage>sample string 4</Lineage> <ModifiedBy>sample string 6</ModifiedBy> <MotherID>5dbce187-485b-40e9-bba1-eaee65db856f</MotherID> <Organization>sample string 2</Organization> <PetID>c6b92b80-0ca1-456c-85f6-115b26591d66</PetID> <UpdatedDate>2026-01-23T04:06:28.6605046+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.