POST api/Pets/PostPet
Request Information
URI Parameters
None.
Body Parameters
RootObjectPetName | Description | Type | Additional information |
---|---|---|---|
patient | PetInboundPayload |
Required |
Request Formats
application/json, text/json
Sample:
{ "patient": { "name": "sample string 1", "species": "sample string 2", "birthDate": "sample string 3", "sex": "sample string 4", "deceased": true, "otherMedications": "sample string 6", "notes": "sample string 7", "weight": "sample string 8", "brvId": "sample string 9", "patientContactKey": "sample string 10", "healthConditions": "sample string 11", "allergies": [ { "brvId": "sample string 1" }, { "brvId": "sample string 1" } ] } }
application/xml, text/xml
Sample:
<RootObjectPet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WedgewoodAPI.Models"> <patient> <allergies> <PetAllergy> <brvId>sample string 1</brvId> </PetAllergy> <PetAllergy> <brvId>sample string 1</brvId> </PetAllergy> </allergies> <birthDate>sample string 3</birthDate> <brvId>sample string 9</brvId> <deceased>true</deceased> <healthConditions>sample string 11</healthConditions> <name>sample string 1</name> <notes>sample string 7</notes> <otherMedications>sample string 6</otherMedications> <patientContactKey>sample string 10</patientContactKey> <sex>sample string 4</sex> <species>sample string 2</species> <weight>sample string 8</weight> </patient> </RootObjectPet>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |