POST api/UploadImage
Request Information
URI Parameters
None.
Body Parameters
FileImageUpload| Name | Description | Type | Additional information |
|---|---|---|---|
| imageid | integer |
None. |
|
| imageExtension | string |
None. |
|
| imagename | string |
None. |
|
| imagedata | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"imageid": 1,
"imageExtension": "sample string 2",
"imagename": "sample string 3",
"imagedata": "sample string 4"
}
application/xml, text/xml
Sample:
<FileImageUpload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebServer.Models"> <imageExtension>sample string 2</imageExtension> <imagedata>sample string 4</imagedata> <imageid>1</imageid> <imagename>sample string 3</imagename> </FileImageUpload>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | 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. |