POST api/File/DeleteFile
删除文件
Request Information
URI Parameters
None.
Body Parameters
FileMsg| Name | Description | Type | Additional information |
|---|---|---|---|
| StatusCode |
状态码 |
integer |
None. |
| Info |
操作信息 |
string |
None. |
| name |
文件名 |
string |
None. |
| Path |
文件路径 |
string |
None. |
| Size |
文件大小 |
integer |
None. |
| Ext |
文件扩展名 |
string |
None. |
| Thumb |
缩略图 |
string |
None. |
| PdfPath |
Pdf路径 |
string |
None. |
| fileSys |
存储方式 1 本地 2.Oss |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"StatusCode": 1,
"Info": "sample string 2",
"name": "sample string 3",
"Path": "sample string 4",
"Size": 5,
"Ext": "sample string 6",
"Thumb": "sample string 7",
"PdfPath": "sample string 8",
"fileSys": 9
}
application/xml, text/xml
Sample:
<FileMsg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KX.Training.APPAPI.Models"> <Ext>sample string 6</Ext> <Info>sample string 2</Info> <Path>sample string 4</Path> <PdfPath>sample string 8</PdfPath> <Size>5</Size> <StatusCode>1</StatusCode> <Thumb>sample string 7</Thumb> <fileSys>9</fileSys> <name>sample string 3</name> </FileMsg>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |