POST api/SupplyChain/OperVoucher

Request Information

URI Parameters

None.

Body Parameters

OperVoucherRequest
NameDescriptionTypeAdditional information
v_id_list

凭证Id,多个逗号分隔

string

None.

oper_type

操作类型:0-删除 1-导出凭证

integer

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "v_id_list": "sample string 1",
  "oper_type": 2,
  "user_id": "sample string 3",
  "token": "sample string 4"
}

application/xml, text/xml

Sample:
<OperVoucherRequest 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>
  <oper_type>2</oper_type>
  <v_id_list>sample string 1</v_id_list>
</OperVoucherRequest>

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

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.