POST api/MobileData/UploadImageFromApps

Request Information

URI Parameters

None.

Body Parameters

UploadImageDTO
NameDescriptionTypeAdditional information
ToApproveValue

integer

None.

FileName

string

None.

FileContent

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ToApproveValue": 1,
  "FileName": "sample string 2",
  "FileContent": "sample string 3"
}

multipart/form-data

Sample:
{"ToApproveValue":1,"FileName":"sample string 2","FileContent":"sample string 3"}

application/xml, text/xml

Sample:
<MobileAppDataController.UploadImageDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScrubUpWebAPI.Controllers">
  <FileContent>sample string 3</FileContent>
  <FileName>sample string 2</FileName>
  <ToApproveValue>1</ToApproveValue>
</MobileAppDataController.UploadImageDTO>

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 'UploadImageDTO'.

Response Information

Resource Description

string

Response Formats

application/json, text/json, multipart/form-data

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>