POST api/flight/v3/submitVoidTicketing
提交廢票
Request Information
URI Parameters
None.
Body Parameters
SubmitVoidTicketRQContractName | Description | Type | Additional information |
---|---|---|---|
tktNos |
票號 |
Collection of string |
None. |
flightPNR |
PNR |
string |
None. |
gdsType |
Uapi/Amadeus/Sabre |
string |
None. |
bookingPCC |
下單PCC |
string |
None. |
providerAccountId |
出票API配置ID |
integer |
None. |
autoTicketProvider |
出票提供商(WTL/Techson/Lotus) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "tktNos": [ "sample string 1", "sample string 2" ], "flightPNR": "sample string 2", "gdsType": "sample string 3", "bookingPCC": "sample string 4", "providerAccountId": 5, "autoTicketProvider": "sample string 6" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
提交廢票
ReturnResultOfSubmitVoidTicketRSContractName | Description | Type | Additional information |
---|---|---|---|
data | SubmitVoidTicketRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "voidTickets": [ { "isVoided": true, "TktNo": "sample string 2" }, { "isVoided": true, "TktNo": "sample string 2" } ] }, "code": 1, "message": "sample string 2" }