POST api/CorporateTravel/CreateInvoice

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
model
No documentation available.

Define this parameter in the request body.

Request body 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",
  "OrgCreateInvoiceTime": "sample string 19"
}

application/xml, text/xml

Sample:
<CorporateTravelInvoiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_5Bus.WebApi.Models.CorporateTravel">
  <InvoceType>sample string 15</InvoceType>
  <InvoiceCode>sample string 11</InvoiceCode>
  <InvoiceNo>sample string 12</InvoiceNo>
  <InvoiceTime>sample string 13</InvoiceTime>
  <OrgCreateInvoiceTime>sample string 19</OrgCreateInvoiceTime>
  <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 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'CorporateTravelInvoiceModel'.

Response Information

Response body 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/" />