GET APIControllers/Wellness/GetPetAnswerTypes?securityKey={securityKey}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
securityKey | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseOfListOfPetAnswerTypeName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Message | string |
None. |
|
Entity | Collection of PetAnswerType |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Message": "sample string 2", "Entity": [ { "Id": 1, "Name": "sample string 2", "DisplayName": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "DisplayName": "sample string 3" } ] }
application/xml, text/xml
Sample:
<ResponseOfArrayOfPetAnswerTypeA16EjPBX 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:PetAnswerType> <d2p1:DisplayName>sample string 3</d2p1:DisplayName> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:PetAnswerType> <d2p1:PetAnswerType> <d2p1:DisplayName>sample string 3</d2p1:DisplayName> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:PetAnswerType> </Entity> <Message>sample string 2</Message> <Success>true</Success> </ResponseOfArrayOfPetAnswerTypeA16EjPBX>