POST api/UpLoad

Documentation for 'PostUpLoadFile'.

Request Information

Parameters

NameDescriptionAdditional information
entity
Documentation for 'entity'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "dirPath": "sample string 1",
  "FileName": "sample string 2",
  "FileData": "QEBA",
  "PIX": 3
}

application/xml, text/xml

Sample:
<UpLoadController.UploadFileEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/T_CloudFile.Controllers">
  <FileData>QEBA</FileData>
  <FileName>sample string 2</FileName>
  <PIX>3</PIX>
  <dirPath>sample string 1</dirPath>
</UpLoadController.UploadFileEntity>

application/x-www-form-urlencoded

Sample:

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

Response Information

Response body formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

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