post https://api.aerocrs.com/v5/confirmBooking
This method will confirm a booking according to a booking id.
Request parameters
Parameter | Type | Description |
---|---|---|
bookingid | Number* | bookingid taken from createBooking |
agentconfirmation | String* | Agent reference |
remarks | String | Free text (not mandatory) |
passenger | Element* | Include the passenger details to update |
paxtitle | String* | Mr./Mrs./Miss./Child/INFANT |
firstname | String* | First name of passenger |
lastname | String* | Last name of passenger |
paxage | String | Age of passenger – Mandatory only for children |
paxnationailty | String | Passenger nationality (ISO country code) |
paxdoctype | String | Document type PP- Passport / ID-National ID |
paxdocnumber | String | Document number |
paxdocissuer | String | Document issuer (ISO country code) |
paxdocexpiry | Date | Document expiry (YYYY/MM/DD) |
paxbirthdate | Date | Passenger birth date (YYYY/MM/DD) |
paxvisanumber | String | Visa number |
paxvisaexpiry | Date | Visa expiry (YYYY/MM/DD) |
paxphone | String | Passenger phone |
paxemail | Passenger e-mail | |
paxweight | Number | Passenger weight |
paxcarringinfant | Boolean | Passenger is caring an infant (1- true, 0- false) (mandatory in case booking has at least one infant) |
confirmationemail | Confirmation e-mail will be sent to this e-mail, please fill valid e-mail (not mandatory) | |
holdBooking | Boolean | A boolean parameter whether to allow booking hold for X minutes. (Values= true/false) Important In order to check if you can use this option - please contact AeroCRS |
sendemail | Boolean | 1 - Send a web confirmation email to the customer, 0 - Will not send a web confirmation email to the customer (If not set in the request, The default value is 1) |
- Mandatory parameters
Response parameters
Parameter | Type | Description |
---|---|---|
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) |
topay | Money | Amount left to pay |
currency | String | Currency of payment |
pnrptl | Date | Payment time limit in GMT time zone YYYY/MM/DD hh:mm |
pnrttl | Date | Ticketing time limit in GMT time zone YYYY/MM/DD hh:mm |
status | String | OK – PNR is OK and approved |