POST api/HorseManager/SaveHorseImage
Request Information
URI Parameters
None.
Body Parameters
SaveImageRequestName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
ImageBase64 | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "ImageBase64": "sample string 2" }
application/xml, text/xml
Sample:
<SaveImageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/kloihmMvc.Models"> <Id>sample string 1</Id> <ImageBase64>sample string 2</ImageBase64> </SaveImageRequest>
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>