POST api/flight/v3/submitAutoTicketing
提交出票
Request Information
URI Parameters
None.
Body Parameters
SubmitTicketingRQContractName | Description | Type | Additional information |
---|---|---|---|
orderNO |
訂單號 |
string |
None. |
xoNO |
XoNO |
string |
None. |
currency |
幣種 |
string |
None. |
routing |
行情及報價 |
AutoTicket_Routing |
None. |
passengers |
旅客信息 |
Collection of AutoTikcet_Passenger |
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:
{ "orderNO": "sample string 1", "xoNO": "sample string 2", "currency": "sample string 3", "routing": { "FareType": 0, "AdultPrice": 1.0, "AdultTax": 2.0, "ChildPrice": 3.0, "ChildTax": 4.0, "AdultOrgPrice": 5.0, "AdultOrgTax": 6.0, "ChildOrgPrice": 7.0, "ChildOrgTax": 8.0, "Segments": [ { "segmentOrder": 1, "depAirport": "sample string 1", "arrAirport": "sample string 2", "depTime": "sample string 3", "arrTime": "sample string 4", "carrier": "sample string 5", "flgihtNumber": "sample string 6", "cabin": "sample string 7", "fareBasis": "sample string 8" }, { "segmentOrder": 1, "depAirport": "sample string 1", "arrAirport": "sample string 2", "depTime": "sample string 3", "arrTime": "sample string 4", "carrier": "sample string 5", "flgihtNumber": "sample string 6", "cabin": "sample string 7", "fareBasis": "sample string 8" } ] }, "passengers": [ { "PassengerType": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3" }, { "PassengerType": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3" } ], "flightPNR": "sample string 4", "gdsType": "sample string 5", "bookingPCC": "sample string 6", "providerAccountId": 7, "autoTicketProvider": "sample string 8" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
提交出票
ReturnResultOfSubmitTicketingRSContractName | Description | Type | Additional information |
---|---|---|---|
data | SubmitTicketingRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "ProcessId": "sample string 1", "tickets": [ { "PaxName": "sample string 1", "TktNo": "sample string 2", "currency": "sample string 3", "fare": 1.0, "tax": 1.0, "totalPrice": 1.0 }, { "PaxName": "sample string 1", "TktNo": "sample string 2", "currency": "sample string 3", "fare": 1.0, "tax": 1.0, "totalPrice": 1.0 } ], "undercut": { "undercutBy": "sample string 1", "undercutValue": 2.0 } }, "code": 1, "message": "sample string 2" }