POST Upload/CheckHashCode?token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

Body Parameters

UploadEntiy
NameDescriptionTypeAdditional information
filename

string

None.

pid

string

None.

pname

string

None.

hashcode

string

None.

filelength

string

None.

filepath

string

None.

alluser

string

None.

Request Formats

application/json, text/json

Sample:
{
  "filename": "sample string 1",
  "pid": "sample string 2",
  "pname": "sample string 3",
  "hashcode": "sample string 4",
  "filelength": "sample string 5",
  "filepath": "sample string 6",
  "alluser": "sample string 7"
}

application/xml, text/xml

Sample:
<UploadEntiy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZC.FS.API.Controllers">
  <alluser>sample string 7</alluser>
  <filelength>sample string 5</filelength>
  <filename>sample string 1</filename>
  <filepath>sample string 6</filepath>
  <hashcode>sample string 4</hashcode>
  <pid>sample string 2</pid>
  <pname>sample string 3</pname>
</UploadEntiy>

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

Response Information

Resource Description

ReturnMsg
NameDescriptionTypeAdditional information
Status

string

None.

MsgCode

string

None.

_ReturnMsg

string

None.

ReturnCnt

string

None.

ExecTms

string

None.

item

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "msgcode": "sample string 2",
  "_returnmsg": "sample string 3",
  "returncnt": "sample string 4",
  "exectms": "sample string 5",
  "item": {}
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: 远程处理无法在类型“System.MarshalByRefObject”上找到字段“__identity”。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: 远程处理无法在类型“System.MarshalByRefObject”上找到字段“__identity”。