POST APIControllers/Wellness/GetPetWellnessAnnualInfo
Request Information
URI Parameters
None.
Body Parameters
PetWellnessAnnualInfoRequestName | Description | Type | Additional information |
---|---|---|---|
PetId | integer |
None. |
|
SecurityKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PetId": 1, "SecurityKey": "sample string 2" }
application/xml, text/xml
Sample:
<PetWellnessAnnualInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mobile.oneplan.co.za.Models"> <SecurityKey>sample string 2</SecurityKey> <PetId>1</PetId> </PetWellnessAnnualInfoRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfPetWellnessAnnualInfoName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Message | string |
None. |
|
Entity | PetWellnessAnnualInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Message": "sample string 2", "Entity": { "PetId": 1, "FoodType": "sample string 2", "Weight": 3.0, "TeethCondition": "sample string 4", "SecurityKey": "sample string 5" } }
application/xml, text/xml
Sample:
<ResponseOfPetWellnessAnnualInfoA16EjPBX xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnePlan.Core"> <Entity xmlns:d2p1="http://schemas.datacontract.org/2004/07/mobile.oneplan.co.za.Models"> <d2p1:SecurityKey>sample string 5</d2p1:SecurityKey> <d2p1:FoodType>sample string 2</d2p1:FoodType> <d2p1:PetId>1</d2p1:PetId> <d2p1:TeethCondition>sample string 4</d2p1:TeethCondition> <d2p1:Weight>3</d2p1:Weight> </Entity> <Message>sample string 2</Message> <Success>true</Success> </ResponseOfPetWellnessAnnualInfoA16EjPBX>