POST api/Voc/ImportReport

报表和其他上传

Request Information

URI Parameters

None.

Body Parameters

ImpReportRequest
NameDescriptionTypeAdditional information
v_type

类型:0-凭证 1-报表 2-其他

integer

None.

v_date

日期

string

None.

file_url

图片存储路径,多张逗号分隔

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "v_type": 1,
  "v_date": "sample string 2",
  "file_url": "sample string 3",
  "user_id": "sample string 4",
  "token": "sample string 5"
}

application/xml, text/xml

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

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

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.