post https://api.aerocrs.com/v4/getBooking
This method will give you the booking details according to the booking confirmation
Request parameters
Parameter | Type | Description |
---|---|---|
bookingconfirmation | String* | as accepted from confirmBooking OR PNR ref |
passengerlastname | String | Passenger last name – MANDATORY if you are giving the PNR ref., otherwise OPTIONAL |
- Mandatory parameters
Response
Parameter | Type | Description |
---|---|---|
booking | Element | Include all the information regarding the booking |
bookingid | Number | Booking ID used |
bookingconfirmation | String | Booking confirmation string |
linktobooking | Link | The link to the booking in the airline website |
pnrref | String | The PNR ref (record locator) |
ticketnumber | Number | Ticket number ID in AeroCRS system (if ticketed) |
invoicenumber | Number | Invoice number in airline (if ticketed) |
status | String | OK – PNR is OK and approvedPN – PNR is in PENDING status and will be kept for 24 hours for manual approving with the airline |
flights | Element | Holds all flights information in the booking, each flight is represented by a flight element |
flight | Element | Holds the flight information in the booking |
airline | String | Airline name |
airlinedesignator | String | Airline 2 letter code in IATA (if exists) |
airlineICAOcode | String | Airline 3 letter ICAO code (if exists) |
from | String | From destination name |
fromcode | String | From destination code |
to | String | To destination name |
tocode | String | To destination code |
class | String | Class code |
flightdate | Date | YYYY/MM/DD date of flight |
depart | Time | HH:MM time of departure |
arrive | Time | HH:MM time of arrival |
number | String | Flight number |
invid | Number | ID of booked flight (used internal) |
invpricing | Money | Total pricing in USD for the flight |
passengers | Element | Holds all passenger elements |
passenger | Element | Holds the passenger information in the booking |
paxtitle | String | Passenger title |
lastname | String | Passenger last name |
firstname | String | Passenger first name |
paxtype | String | Passenger type |
checkin | Element | List of flights and their check in status |
remarks | Element | Each remark in the PNR will be represented in a element |
remark | Element | The Element will include a single text element |
text | String | Remark text |
vouchers | Element | Each voucher in the PNR will be represented in a element |
voucher | Element | The Element include information regarding to the voucher |
agentconfirmation | String | Agent reference as inserted in createBooking |
vccreated | Date | YYYY/MM/DD date time of the system when creating the voucher |
vctotal | Money | Pricing of voucher |
Balanceinformation | Element | Balance DUE payment of this booking. |
PNRtotal | Number | Total amount of the booking |
PNRoutstandingpayment | Number | Balance DUE payment of this booking. |
BalanceInCurrencies | Element | Balance DUE payment of this booking in currencies, the same nodes as balanceInformation |