post https://api.aerocrs.com/v5/confirmExtrasReservation
This method will confirm extras reservation according to a booking id.
Request parameters
Parameter | Type | Description |
---|---|---|
bookingid | Number* | The bookingid |
pnrref | String* | The PNR reference |
companycode | String* | The airline designator |
firstname | String | The customer first name |
lastname | String | The customer last name |
confirmationemail | E-mail* | The customer email |
flights | Element* | An array of flights |
flightnumber | String* | The flight number requested |
flightdate | Date* | The flight date requested |
passengers | Element* | Holds all passenger elements |
type | String* | The type of the passenger (ADT/CHD/INFANT) |
firstname | String* | The first name of the passenger |
lastname | String* | The last name of the passenger |
seat | String* | The seat name |
ancillaries | String | Include the itemid separated by comma |
- Mandatory parameters
Customer name not mandatory in case missed the api name will be in use
Response
The method will response with a list of seat fares in the flight
Parameter | Type | Description |
---|---|---|
flights | Element | An array of flights |
flightnumber | Date | The flight number requested |
flightdate | String | The flight date requested |
passengers | Element | Holds all passenger elements |
type | String | The title of the passenger |
firstname | String | The first name of the passenger |
lastname | String | The last name of the passenger |
seat | Element | An array of seats |
ancillaries | String | include the ancillary names, separated by comma |
status | Boolean | The status of action |
msg | String/Boolean | Notification |
reference | String | The PNR reference |
bookingid | Number | The bookingid |
bookingconfirmation | String | Booking confirmation string |
amount | Money | The amount left to pay |
currency | String | Currency ISO code |
pnrptl | Object | YYYY/MM/DD HH:MM Payment time limit according to company settings |