POST api/UploadFiles/Remove

刪除檔案(將欄位變為null,並刪除在目錄底下的指定檔案)

Request Information

URI Parameters

None.

Body Parameters

FilesModel
NameDescriptionTypeAdditional information
O_Id

globally unique identifier

None.

Target

string

None.

IDNO

string

None.

FileName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "O_Id": "3cd3353c-0823-44c2-bd1c-4eda9e5f2a05",
  "Target": "sample string 2",
  "IDNO": "sample string 3",
  "FileName": "sample string 4"
}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.