latestOpenAPI 3.0.12026-08-102668257.3 KB

8e9a8f8010ab

Void

Void Quotation

post/voidQuotation.do

Headers

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

Request body

orderNostring required

Atlas original order number. You can choose to request either orderNo or both airlinePNR and carrier.

Response

statusinteger required

Status code 0 : Success 801:Order not found for void. Check the original main ticket order number. 803:Void already submitted for this passenger or segment. Query void status instead. 805:voidOfferId expired. Call refundQuotation.do again for a fresh ID, then resubmit. 808:This ticket is non-voidable per airline policy. 810:Invalid request parameters 814:Void submission already in progress. Wait before retrying. 815:Ticket not found. Verify ticket number and order number. 816:Void already submitted for this order. Query void status instead of resubmitting. 817:Void already submitted for this order. Query void status instead of resubmitting. 818:Void already submitted for this order. Query void status instead of resubmitting. 820:Ticket already used — cannot void a flown segment. 822:Void deadline exceeded. This ticket can no longer be voided. 824:Wrong orderNumber: use the main ticket order, not the ancillary order number. 841:Void not support the payment method. Please contact the airline directly for resolution. 843:Atlas does not currently support VOID service for the airline or route of this booking.

msgstring nullable required

Error message The ‘msg’ element is for description of the results. Please do not use this field to check the success or failure of the request. Only use the ‘status’ code to check the result.

fastConfirmation0 | 1 required

Fast confirmation depends on whether the airline supports auto fulfillment. 0 for False, 1 for True.

expectedConfirmationDatestring required

Expected date of getting airline void confirmation. The format is yyyyMMdd.

expectedRefundDatestring required

Expected date of getting refund. The format is yyyyMMdd.

voidOfferIdstring required

Void offer id for this quotation which can be used for the coming Void call.

voidMethod'CashBackToOriginalPayment' | 'Voucher' required

Void method: CashBackToOriginalPayment or Voucher. CashBackToOriginalPayment: Refund cash back to the original form of payment. Voucher: Refund in the form of a voucher.

orderNostring required

Original order number

isVoidableboolean required

True : Voidable False: Non-Voidable true or false