POST api/HorsePresentation/AddHorsePresentation
Request Information
URI Parameters
None.
Body Parameters
HorsePresentationRequestName | Description | Type | Additional information |
---|---|---|---|
user_id | string |
None. |
|
horse_id | string |
None. |
|
display_gallery | boolean |
None. |
|
display_results | boolean |
None. |
|
display_notes | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "user_id": "sample string 1", "horse_id": "sample string 2", "display_gallery": true, "display_results": true, "display_notes": true }
application/xml, text/xml
Sample:
<HorsePresentationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/kloihmMvc.Models"> <display_gallery>true</display_gallery> <display_notes>true</display_notes> <display_results>true</display_results> <horse_id>sample string 2</horse_id> <user_id>sample string 1</user_id> </HorsePresentationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponseName | Description | Type | Additional information |
---|---|---|---|
Code | integer |
None. |
|
Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 1, "Data": "sample string 2" }
application/xml, text/xml
Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <Code>1</Code> <Data>sample string 2</Data> </ServiceResponse>