你知道 sabre web-services 的 OTA_AirLowFareSearch 调用的 DepartureWindow 参数的格式是什么吗?无论我通过什么,它都会向我显示一个错误。
这是这些参数的完整文档(我不骗你):
<!--"DepartureDateTime" represents the date and time of departure.-->
<DepartureDateTime>2004-11-22T15:00:00</DepartureDateTime>
<!--"DepartureWindow" represents a window of time to search prior and post departure.-->
<!--Example: JR.DFW/S-OYLAS22NOV1500‡ZRD09001700-->
<DepartureWindow>09001700</DepartureWindow>
我已经尝试传递自 DepartureDateTime 以来的秒数和 unix 时间戳,但没有成功。错误信息是:
Error response received. The error was: INVALID TIME WINDOW IN Z FIELDS
谢谢