POST api/flight/b2b/sendTicketReceipt
開立收據
Request Information
URI Parameters
None.
Body Parameters
InvoiceIssueRQContractName | Description | Type | Additional information |
---|---|---|---|
lang | string |
None. |
|
OrderNo | string |
None. |
|
status | InvoiceIssue_Status |
None. |
|
createStatusTime | date |
None. |
|
createStatusadd | integer |
None. |
|
category | InvoiceIssue_Category |
None. |
|
sellerName | string |
None. |
|
taxNoted | InvoiceIssue_TaxNoted |
None. |
|
comment | string |
None. |
|
productDetails | Collection of IvoiceIssue_ProductInfo |
None. |
|
buyerInfo | InvoiceIssue_BuyerInfo |
None. |
|
tourInfo | InvoiceIssue_TourInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "lang": "sample string 1", "OrderNo": "sample string 2", "status": 1, "createStatusTime": "2025-04-24T17:11:07.159882+08:00", "createStatusadd": 1, "category": 0, "sellerName": "sample string 3", "taxNoted": 0, "comment": "sample string 4", "productDetails": [ { "itemName": "sample string 1", "itemCount": 2, "itemUnit": "sample string 3", "itemPrice": 4 }, { "itemName": "sample string 1", "itemCount": 2, "itemUnit": "sample string 3", "itemPrice": 4 } ], "buyerInfo": { "buyerName": "sample string 1", "buyerUBN": "sample string 2", "buyerAddress": "sample string 3", "buyerEmail": "sample string 4", "buyerphone": "sample string 5" }, "tourInfo": { "tourName": "sample string 1", "tourNo": "sample string 2", "tourDate": "2025-04-24T17:11:07.1638939+08:00" } }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
開立收據
ReturnResultOfInvoiceIssueRSContractName | Description | Type | Additional information |
---|---|---|---|
data | InvoiceIssueRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "merchantID": "sample string 1", "merchantOrderNo": "sample string 2", "totalAmt": 3, "invoiceNumber": "sample string 4", "invoiceTransNo": "sample string 5", "randomNum": "sample string 6", "createTime": "2025-04-24T17:11:07.2100144+08:00", "surplus": 8 }, "code": 1, "message": "sample string 2" }