POST api/corporateTravel/GetInvoiceUrl

Request Information

URI Parameters

None.

Body Parameters

CorporateTravelInvoiceModel
NameDescriptionTypeAdditional information
orderNo

string

None.

amount

decimal number

None.

taxRate

decimal number

None.

ssbmCode

string

None.

xmmc

string

None.

buyerName

string

None.

buyerTaxNumber

string

None.

buyerAddress

string

None.

buyerAccount

string

None.

buyerPhoneOrEmail

string

None.

InvoiceCode

string

None.

InvoiceNo

string

None.

InvoiceTime

string

None.

remark

string

None.

InvoceType

string

None.

OrgInvoiceCode

string

None.

OrgInvoiceNo

string

None.

OrgInvoiceDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "orderNo": "sample string 1",
  "amount": 2.1,
  "taxRate": 3.1,
  "ssbmCode": "sample string 4",
  "xmmc": "sample string 5",
  "buyerName": "sample string 6",
  "buyerTaxNumber": "sample string 7",
  "buyerAddress": "sample string 8",
  "buyerAccount": "sample string 9",
  "buyerPhoneOrEmail": "sample string 10",
  "InvoiceCode": "sample string 11",
  "InvoiceNo": "sample string 12",
  "InvoiceTime": "sample string 13",
  "remark": "sample string 14",
  "InvoceType": "sample string 15",
  "OrgInvoiceCode": "sample string 16",
  "OrgInvoiceNo": "sample string 17",
  "OrgInvoiceDate": "sample string 18"
}

application/xml, text/xml

Sample:
<CorporateTravelInvoiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_5Bus.SDCtripWebApi.Models.CorporateTravel">
  <InvoceType>sample string 15</InvoceType>
  <InvoiceCode>sample string 11</InvoiceCode>
  <InvoiceNo>sample string 12</InvoiceNo>
  <InvoiceTime>sample string 13</InvoiceTime>
  <OrgInvoiceCode>sample string 16</OrgInvoiceCode>
  <OrgInvoiceDate>sample string 18</OrgInvoiceDate>
  <OrgInvoiceNo>sample string 17</OrgInvoiceNo>
  <amount>2.1</amount>
  <buyerAccount>sample string 9</buyerAccount>
  <buyerAddress>sample string 8</buyerAddress>
  <buyerName>sample string 6</buyerName>
  <buyerPhoneOrEmail>sample string 10</buyerPhoneOrEmail>
  <buyerTaxNumber>sample string 7</buyerTaxNumber>
  <orderNo>sample string 1</orderNo>
  <remark>sample string 14</remark>
  <ssbmCode>sample string 4</ssbmCode>
  <taxRate>3.1</taxRate>
  <xmmc>sample string 5</xmmc>
</CorporateTravelInvoiceModel>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />