POST api/Invoice/UploadInvoice

批量上传

Request Information

URI Parameters

None.

Body Parameters

请求数据

UploadInvoiceRequest
NameDescriptionTypeAdditional information
invoice_type

发票类型

integer

None.

docu_type

单据类型

integer

None.

bank_code

银行编码

string

None.

bank_time

银行录入所选时间

string

None.

strJson

图片路径:名称:name 路径:file_url

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "invoice_type": 1,
  "docu_type": 2,
  "bank_code": "sample string 3",
  "bank_time": "sample string 4",
  "strJson": "sample string 5",
  "user_id": "sample string 6",
  "token": "sample string 7"
}

application/xml, text/xml

Sample:
<UploadInvoiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 7</token>
  <user_id>sample string 6</user_id>
  <bank_code>sample string 3</bank_code>
  <bank_time>sample string 4</bank_time>
  <docu_type>2</docu_type>
  <invoice_type>1</invoice_type>
  <strJson>sample string 5</strJson>
</UploadInvoiceRequest>

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

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.