post https://api.aerocrs.com/v5/createAncillary
This method will add an ancillary service to the reservation
Request parameters
Important noticeIf you are using a Direct Contract - please use createAncillary before doing confirmBooking. If not you can use this API also after confirmBooking.
| Parameter | Type | Description |
|---|---|---|
| itemid | Number* | Ancillary itemid (from getAncillaries method) |
| bookingid | Number* | Bookingid number |
| flightid | Number* | Flight internal code |
| paxnum | Number* | Passenger number according to order. (Starts from 0) |
* Mandatory parameters
Response
success key will be true of all SSRs that were sent returned a true result, False otherwise
| Parameter | Type | Description |
|---|---|---|
| Ancillary | element | Include the ancillary item information as it was sent in request |
| itemid | Number | ID of requested Ancillary |
| bookingid | Number | As requested |
| flightid | Number | As requested |
| success | Boolean | True if the ancillary was added without errors, False otherwise |
| invid | Number | Internal number of requested ancillary |
