POST api/Project/DeleteFile

Request Information

URI Parameters

None.

Body Parameters

TaskFileDataObject
NameDescriptionTypeAdditional information
Tid

string

None.

TaskId

string

None.

FileType

integer

None.

FileTypeString

string

None.

FileName

string

None.

FileUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "tid": "sample string 1",
  "taskId": "sample string 2",
  "fileType": 3,
  "fileTypeString": "总结文档",
  "fileName": "sample string 4",
  "fileUrl": "sample string 5"
}

application/xml, text/xml

Sample:
<TaskFileDataObject xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Tid>sample string 1</Tid>
  <TaskId>sample string 2</TaskId>
  <FileType>3</FileType>
  <FileName>sample string 4</FileName>
  <FileUrl>sample string 5</FileUrl>
</TaskFileDataObject>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonResultObject
NameDescriptionTypeAdditional information
IsSucceed

boolean

None.

Remark

string

None.

OpTime

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "isSucceed": true,
  "remark": "sample string 2",
  "opTime": "sample string 3",
  "result": {}
}

application/xml, text/xml

Sample:
<JsonResultObject xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <IsSucceed>true</IsSucceed>
  <Remark>sample string 2</Remark>
  <OpTime>sample string 3</OpTime>
  <Result />
</JsonResultObject>