post
https://api.aerocrs.com/v4/confirmBooking
This method will confirm a booking according to a booking id.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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 | Number | 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 |
| paxweight | String | Passenger weight. Please note that this is only natural numbers. I.E - 65, 70, 85 |
| paxemail | Passenger e-mail | |
| 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) |
- 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 |

