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": "18a6ec45-f109-4687-94f2-4e44944da9eb",
"PetID": "c602e189-d849-4372-8efc-630bd254fd21",
"FatherID": "c8f9fbbe-d7ac-41a6-9c4e-d41fc25e55dc",
"MotherID": "dcf51fda-2e19-4942-b566-d13a5329926f",
"Organization": "sample string 2",
"CertificateURL": "sample string 3",
"Lineage": "sample string 4",
"CreatedDate": "2026-09-20T00:08:39.0024318+07:00",
"CreatedBy": "sample string 5",
"UpdatedDate": "2026-09-20T00:08:39.0024318+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-09-20T00:08:39.0024318+07:00</CreatedDate> <FatherID>c8f9fbbe-d7ac-41a6-9c4e-d41fc25e55dc</FatherID> <Id>18a6ec45-f109-4687-94f2-4e44944da9eb</Id> <Lineage>sample string 4</Lineage> <ModifiedBy>sample string 6</ModifiedBy> <MotherID>dcf51fda-2e19-4942-b566-d13a5329926f</MotherID> <Organization>sample string 2</Organization> <PetID>c602e189-d849-4372-8efc-630bd254fd21</PetID> <UpdatedDate>2026-09-20T00:08:39.0024318+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.