从 saber API 出票
Issue the ticket from sabre API
我们已成功实施 saber 低价搜索和预订工作流程并创建了 PNR。现在,我想使用 api 开立该 PNR 的客票。
我的工作流程是:
1. BargainFinderMaxRQ (find)
2. EnhancedAirBook (book)
3. PassengerDetails (create PNR)
我的出票工作流程:
1. TravelItineraryReadRQ(Retrieve PNR).
2. DesignatePrinterLLS (Print tickets)
3. AirTicketLLS (Issue tickets)
现在,我在实施 DesignatePrinterLLS
.
时遇到错误
请求XML
<DesignatePrinterRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ReturnHostCommand="false" TimeStamp="2016-04-30T05:38:20+00:00" Version="2.0.1">
<Printers>
<BagTag LNIATA="XXXXX9" />
</Printers>
</DesignatePrinterRQ>
响应
<DesignatePrinterRS xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stl="http://services.sabre.com/STL/v01" Version="2.0.1">
<stl:ApplicationResults status="NotProcessed">
<stl:Error type="BusinessLogic" timeStamp="2016-04-30T02:45:29-05:00">
<stl:SystemSpecificResults>
<stl:Message>INVALID ENTRY</stl:Message>
<stl:ShortText>ERR.SWS.HOST.ERROR_IN_RESPONSE</stl:ShortText>
</stl:SystemSpecificResults>
</stl:Error>
</stl:ApplicationResults>
</DesignatePrinterRS>
我们应该在 <Printers>
元素中提供什么子元素。如果我获取门票的工作流程是错误的,那么我如何从 saber 获取门票?
1.更改 AAA(如果您有另一个伪城市代码)
2。指定打印机LLS(打印票证)
2.1票
<DesignatePrinterRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.0.1">
<Printers>
<Ticket CountryCode="IN" LNIATA=""/>
</Printers>
</DesignatePrinterRQ>
2.2 硬拷贝
<DesignatePrinterRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.0.1">
<Printers>
<Hardcopy LNIATA="XXXXXXXX"/>
</Printers>
</DesignatePrinterRQ>
3。 TravelItineraryReadRQ
4. AirTicketLLS(出票)
行李标签打印机仅适用于为航空公司(而非旅行社)构建解决方案的情况。
为了扩展 CSE 52 的答案,我假设你已经看过这个?
https://github.com/sabredevstudio/sabreapisworkflows
它也提供了有关出票工作流程的说明。
我们已成功实施 saber 低价搜索和预订工作流程并创建了 PNR。现在,我想使用 api 开立该 PNR 的客票。
我的工作流程是:
1. BargainFinderMaxRQ (find)
2. EnhancedAirBook (book)
3. PassengerDetails (create PNR)
我的出票工作流程:
1. TravelItineraryReadRQ(Retrieve PNR).
2. DesignatePrinterLLS (Print tickets)
3. AirTicketLLS (Issue tickets)
现在,我在实施 DesignatePrinterLLS
.
请求XML
<DesignatePrinterRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ReturnHostCommand="false" TimeStamp="2016-04-30T05:38:20+00:00" Version="2.0.1">
<Printers>
<BagTag LNIATA="XXXXX9" />
</Printers>
</DesignatePrinterRQ>
响应
<DesignatePrinterRS xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stl="http://services.sabre.com/STL/v01" Version="2.0.1">
<stl:ApplicationResults status="NotProcessed">
<stl:Error type="BusinessLogic" timeStamp="2016-04-30T02:45:29-05:00">
<stl:SystemSpecificResults>
<stl:Message>INVALID ENTRY</stl:Message>
<stl:ShortText>ERR.SWS.HOST.ERROR_IN_RESPONSE</stl:ShortText>
</stl:SystemSpecificResults>
</stl:Error>
</stl:ApplicationResults>
</DesignatePrinterRS>
我们应该在 <Printers>
元素中提供什么子元素。如果我获取门票的工作流程是错误的,那么我如何从 saber 获取门票?
1.更改 AAA(如果您有另一个伪城市代码)
2。指定打印机LLS(打印票证)
2.1票
<DesignatePrinterRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.0.1">
<Printers>
<Ticket CountryCode="IN" LNIATA=""/>
</Printers>
</DesignatePrinterRQ>
2.2 硬拷贝
<DesignatePrinterRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.0.1">
<Printers>
<Hardcopy LNIATA="XXXXXXXX"/>
</Printers>
</DesignatePrinterRQ>
3。 TravelItineraryReadRQ
4. AirTicketLLS(出票)
行李标签打印机仅适用于为航空公司(而非旅行社)构建解决方案的情况。 为了扩展 CSE 52 的答案,我假设你已经看过这个? https://github.com/sabredevstudio/sabreapisworkflows
它也提供了有关出票工作流程的说明。