Rest/SOAP API workflow for flight booking and payment

你离开我真会死。 提交于 2019-12-13 07:45:18

问题


Is there a workflow for making payments to the airlines and getting the flight ticket after the InstaFlight search?


回答1:


You can use the combination of EnhancedAirBook and PassengerDetails APIs to create a reservation including your selected flights from InstaFlights:

In order to issue a ticket afterwards, you can use the API AirTicketLLSRQ - here's a workflow that explains how to use it: https://developer.sabre.com/docs/workflows/issue_air_ticket

The same API - AirTicketLLSRQ - accepts the form of payment information. For some markets and credit cards you can use another API to get credit card approval:

https://developer.sabre.com/docs/read/soap_apis/air/fulfill/get_credit_card_approval

So, in summary, the APIs sequence would be: - InstaFlights (or any other air shopping service) - EnhancedAirBook + PassengerDetails APIs - Optionally - if using credit card payment - use the Get Credit Card Approval API (or any other payment gateway of your choice) - DesignatePrinter + AirTicketLLSRQ to issue the tickets

For other sample workflows, please refer to github, that includes sample requests and explanation: https://github.com/sabredevstudio/sabreapisworkflows



来源:https://stackoverflow.com/questions/40016028/rest-soap-api-workflow-for-flight-booking-and-payment

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!