POST api/Voc/ImportVocAnnex

凭证上传附件

Request Information

URI Parameters

None.

Body Parameters

AddVocAnnexRequest
NameDescriptionTypeAdditional information
v_id

凭证Id

integer

None.

strJson

字符串:名称:name 路径:file_url [{\"name\":\"10114\",\"file_url\":\"1\"}]

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "v_id": 1,
  "strJson": "sample string 2",
  "user_id": "sample string 3",
  "token": "sample string 4"
}

application/xml, text/xml

Sample:
<AddVocAnnexRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 4</token>
  <user_id>sample string 3</user_id>
  <strJson>sample string 2</strJson>
  <v_id>1</v_id>
</AddVocAnnexRequest>

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

Response Information

Resource Description

凭证上传附件

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.