POST api/File/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

AssetUploadDTO
NameDescriptionTypeAdditional information
FileName

string

None.

Relate

string

None.

Folder

string

None.

AssetType

FileType

None.

Request Formats

application/json, text/json

Sample:
{
  "FileName": "sample string 1",
  "Relate": "sample string 2",
  "Folder": "sample string 3",
  "AssetType": 0
}

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FileName"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Relate"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Folder"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="AssetType"

document
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.