POST api/Invoice/UpdateInvoiceType

修改发票类型

Request Information

URI Parameters

None.

Body Parameters

UpdateInvoiceTypeRequest
NameDescriptionTypeAdditional information
invoice_id

主键

integer

None.

invoice_type

发票类型

integer

None.

invoice_type_name

发票类型名称

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "invoice_id": 1,
  "invoice_type": 2,
  "invoice_type_name": "sample string 3",
  "user_id": "sample string 4",
  "token": "sample string 5"
}

application/xml, text/xml

Sample:
<UpdateInvoiceTypeRequest 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>
  <invoice_id>1</invoice_id>
  <invoice_type>2</invoice_type>
  <invoice_type_name>sample string 3</invoice_type_name>
</UpdateInvoiceTypeRequest>

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

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.