latestOpenAPI 3.0.12026-08-102668257.3 KB

8e9a8f8010ab

Other Functions

Regenerate Order

Dependency: Order function should be called in prior to this call.

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

post/regenerateOrder.do

Headers

Acceptstring required
Content-Typestring required
Accept-Encodingstring required
x-atlas-client-idstring required
x-atlas-client-secretstring required

Request body

originalOrderNostring required

The order number of the original ticket order you want to regenerate

Response

status301 | 302 | 303 | 304 | 305 | 307 | 308 | 309 | 310 | 312 | 313 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 407 | 408 | 409 | 410 required
msgstring required

It serves 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. For example, do not judge whether the interface responds successfully based on this field. Instead, you should only determine it by checking whether the status is equal to0at any time.

sessionIdstring required
orderNostring required

Order number of the created order.

pnrCodestring required

The pnrCode is the single reference for the booking. This is the Atlas PNR, not airline's.

totalPricenumber required

Total price(not including service fee) of this order in the currency TheAtlas settled with you

totalTransactionFeenumber required

Total technical fees for this order in the currency TheAtlas settled with you.

currencystring required

The currency TheAtlas settled with you.

vendorTotalPricenumber nullable

Total price of this order in the vendor's currency, reference for you to generate the specific credit card.

vendorCurrencystring nullable

Vendor's currency.

tktLimitTimestring required

Payment deadline for this order. This time will be displayed in SGT (GMT +8). The fromat is:yyyy-MM-dd HH:mm:ss.

duplicateOrdersstring[] nullable

If the api returns error code318(duplicate booking), then the list will contain duplicate order numbers.