post
https://api.aerocrs.com/v5/createOpenService
This method will add an open service to the reservation
Request parameters
Important noticeNeed to call this API after confirmBooking
| Parameter | Type | Description |
|---|---|---|
| bookingconfirmation | String* | Booking confirmation (from confirmBooking Response) |
| servicetype | String* | Service type from the airline |
| supplier | String* | Open Service supplier |
| servicedate | String* | Date time value in YYYY-MM-DD HH:mm format |
| adults | Numeric* | Number of adult passengers |
| child | Numeric* | Number of child passengers |
| infant | Numeric* | Number of infant passengers |
| currency | String* | Currency code |
| fare | Numeric | Base fare amount |
| tax | Numeric | Tax amount |
| vat | Numeric | VAT amount - Must be a decimal between 0.0 and 0.99 (e.g., 0.1 for 10%) |
| chargevatontax | Boolean | Charge VAT value on tax (TRUE/FALSE) |
| remark | String | Optional free text |
* Mandatory parameters
Response
| Parameter | Type | Description |
|---|---|---|
| bookingid | Number | As requested (same as from createBooking Response) |
| success | Boolean | True if the open service was added successfully, False otherwise |
