For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Offer Price

Atlas API getOfferPrice.do 端点参考,用于履约路径的报价定价,并启动限时支付与出票流程。

💬 需要帮助? 如果遇到问题,请在帮助中心咨询 Eva,快速获取诊断建议。

咨询 Eva

使用 核价出票 作为 getOfferPrice.do 的文档名称。

此端点启动履约流程。

当你需要履约特定的定价,并可以在 order.do 后立即进行支付时使用它。

将返回的上下文视为履约专用。

有关请求限制详情,请使用 API 请求限制

Get Offer Price

post

Dependency: No preceding function needs to be called before Get Offer.

Compared with the traditional Search API, the Fulfillment API provides the following core capabilities: -24/7 automated real-time fulfillment with zero manual intervention; -Automatic alerts triggered when the full-link timeout exceeds 5 minutes; -Unlimited ticketing for flights with imminent departure. Applicable Scenarios: It is designed for workflows where your order information has been fully confirmed, and Atlas needs to complete instant price verification and ticketing.

Endpoint: https://sandbox.atriptech.com/getOfferPrice.do

Header parameters
AcceptstringRequiredExample: application/json
Content-TypestringRequiredExample: application/json
Accept-EncodingstringRequiredExample: gzip
x-atlas-client-idstringRequiredExample: NAR65434_api_1
x-atlas-client-secretstringRequiredExample: <YOUR_CLIENT_ID>
Body
adultsinteger · min: 1 · max: 9Required

Number of adults

Default: 0Example: 1
childreninteger · max: 9 · nullableOptional

Number of children

Default: 0Example: 0
infantsinteger · max: 9 · nullableOptional

Number of infants

Default: 0Example: 0
currencystring · nullableOptional

Quotation currency, optional, default will be determined based on a certain strategy, such as the currency of the customer's pre deposit account

Example: USD
residentCodestring · nullableOptional

Resident discount code

Responses
200Success
application/json
statusinteger · enumRequired
  • 0: success
  • 116: airline error
  • 112: timed out
  • 9999: system error
Possible values:
msgstring · nullableOptional

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.

post/getOfferPrice.do
200Success

Last updated

Was this helpful?