PUT api/Images/UpdateAsBase64
Request Information
URI Parameters
None.
Body Parameters
EskimoClassLibraries.ImageArgsUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| ImageID | integer |
Required |
|
| Base64String |
The actual image data |
string |
Required |
| FileName |
The file name for the image. This is unique in the Eskimo system and an error will be thrown if you try to insert one that already exists. |
string |
Required String length: inclusive between 0 and 100 |
| AlternateTag |
Alternate Text for an image as used here: http://www.w3schools.com/tags/att_img_alt.asp |
string |
String length: inclusive between 0 and 400 |
Request Formats
application/json, text/json
Sample:
{
"ImageID": 1,
"Base64String": "sample string 2",
"FileName": "sample string 3",
"AlternateTag": "sample string 4"
}
application/xml, text/xml
Sample:
<ImageArgsUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries"> <AlternateTag>sample string 4</AlternateTag> <Base64String>sample string 2</Base64String> <FileName>sample string 3</FileName> <ImageID>1</ImageID> </ImageArgsUpdate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Net.Http.HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | System.Version |
None. |
|
| Content | System.Net.Http.HttpContent |
None. |
|
| StatusCode | System.Net.HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |