POST Admin/UploadImage

Request Information

URI Parameters

None.

Body Parameters

AddImage
NameDescriptionTypeAdditional information
entry

string

None.

vtype

string

None.

name

string

None.

image

string

None.

Request Formats

application/json, text/json

Sample:
{
  "entry": "sample string 1",
  "vtype": "sample string 2",
  "name": "sample string 3",
  "image": "sample string 4"
}

application/xml, text/xml

Sample:
<AddImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileServices.Controllers">
  <entry>sample string 1</entry>
  <image>sample string 4</image>
  <name>sample string 3</name>
  <vtype>sample string 2</vtype>
</AddImage>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddImage'.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Response

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Response": "sample string 3"
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileServices">
  <Message>sample string 2</Message>
  <Response>sample string 3</Response>
  <Status>1</Status>
</Result>