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": "c7f72737-df03-4bba-a7d0-7b5354fc8d25",
"PetID": "17678aba-1a07-4406-bb3f-ed158d975c9c",
"FatherID": "ad265f07-7dab-4901-9e8c-ccdb56fee3cb",
"MotherID": "580f6825-4a34-44e7-b884-31ba9bb19095",
"Organization": "sample string 2",
"CertificateURL": "sample string 3",
"Lineage": "sample string 4",
"CreatedDate": "2025-12-06T12:05:49.3795931+07:00",
"CreatedBy": "sample string 5",
"UpdatedDate": "2025-12-06T12:05:49.3795931+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>2025-12-06T12:05:49.3795931+07:00</CreatedDate> <FatherID>ad265f07-7dab-4901-9e8c-ccdb56fee3cb</FatherID> <Id>c7f72737-df03-4bba-a7d0-7b5354fc8d25</Id> <Lineage>sample string 4</Lineage> <ModifiedBy>sample string 6</ModifiedBy> <MotherID>580f6825-4a34-44e7-b884-31ba9bb19095</MotherID> <Organization>sample string 2</Organization> <PetID>17678aba-1a07-4406-bb3f-ed158d975c9c</PetID> <UpdatedDate>2025-12-06T12:05:49.3795931+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.