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": "ba0625db-1cf7-4de6-9094-fa210664f680",
"PetID": "a2c32022-e88a-4141-b05e-e407a38ae943",
"FatherID": "4d0de8b3-d4a4-4b31-8bb5-916f5207c21e",
"MotherID": "59edd182-5ef3-40b9-acf3-ef479b2b0bd5",
"Organization": "sample string 2",
"CertificateURL": "sample string 3",
"Lineage": "sample string 4",
"CreatedDate": "2026-05-23T02:38:11.4636489+07:00",
"CreatedBy": "sample string 5",
"UpdatedDate": "2026-05-23T02:38:11.4636489+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-05-23T02:38:11.4636489+07:00</CreatedDate> <FatherID>4d0de8b3-d4a4-4b31-8bb5-916f5207c21e</FatherID> <Id>ba0625db-1cf7-4de6-9094-fa210664f680</Id> <Lineage>sample string 4</Lineage> <ModifiedBy>sample string 6</ModifiedBy> <MotherID>59edd182-5ef3-40b9-acf3-ef479b2b0bd5</MotherID> <Organization>sample string 2</Organization> <PetID>a2c32022-e88a-4141-b05e-e407a38ae943</PetID> <UpdatedDate>2026-05-23T02:38:11.4636489+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.