行李
Atlas API 行李端点参考,用于查询行李选项、获取行李报价,并在预订中添加行李服务。
GetLuggage 调用规则
如何处理响应
注意事项
api access id
NAR65434_api_1api access secret
changeit建议设置该请求头,能很大程度地减小网络传输报文的大小
gzipapplication/jsonapplication/jsonThesessionIdreturned by verify api(verify.do)
85540632-ef14-4cb2-900e-453ef0a19477Query timeout, unit: milliseconds, default 5000ms.
Note: Due to network transmission and computational performance impacts, the client may still receive a normal result (rather than a timeout) even if this duration is exceeded. This time is used to control the overall response time of the interface within a certain range, with an error generally not exceeding a few hundred milliseconds.
If you have strict requirements for the timeout, it is recommended to set the timeout of your HTTP toolkit. If the HTTP toolkit you are using does not support this capability, you may need to leverage other tools—related capabilities are generally provided in most programming languages.
5000- 212: illegal parameter.
- 214: offer not exists.
- 205: timed out.
- 299: airline error.
- 9999: system error.
As an additional description of the response result. Especially when the interface reports an error (status ≠ 0), it is usually a human-readable error message.
Note: Do not use this field in any programming scenarios, such as judging whether the interface response is successful based on this field. You should always judge solely based on whether the status is equal to 0.
Last updated
Was this helpful?

