API CreateBooking Request

    • This request will create a booking according to flight id’s (taken from getFlights).

You might get a response that from the time of getFlights to your createBooking request seats have been occuipied.

  • You can create a booking for up to 20 flights in one createBooking request.
  • Creating a booking must be actioned on one airline each time, if you wish to book from 2 different airlines, you will need to run createBooking separtly for each airline.
  • System will check if you have the rights to create a booking for the chosen airline.
  • The response will give you a booking ID.
  • Bookings are kept for 20 minutes on airline’s inventory.
  • The system will not allow over TTL (ticketing time limit) pending bookings to be created, each class of booking, the airline define when does it needs to be ticketed, as PENDING status bookings are not ticketed, the system will prevent it from creation (according to your deposit or credit facilities with the airline or AeroCRS)


Variable Variable type Details Container
request Request the request itself aerocrsapi
id String the ID given by AeroCRS aerocrsapi/connector
password String the password give by AeroCRS aerocrsapi/connector
triptype String Type of request:
OW: One way
RT: Return
adults Number Number of adults aerocrsapi/parms
child Number Number of children aerpcrsapi/parms
fromcode Text Code of departure aerocrsapi/bookflight
tocode Text Code of arrival aerocrsapi/bookflight
flightid Number Number you recieved from getFlights aerocrsapi/bookflight
<?xml version="1.0" encoding="utf-8"?>


Variable Variable type Details Container
booking container Contains all booking information aerocrs
items container Contains all items information aerocrs/booking
flight container Flight information aerocrs/booking/items
airline text Name of airline aerocrs/booking/items/flight
from text From destination name aerocrs/booking/items/flight
to text To destination name aerocrs/booking/items/flight
flightdate date YYYY/MM/DD date of flight aerocrs/booking/items/flight
depart time HH:MM time of departure aerocrs/booking/items/flight
arrive time HH:MM time of arrival aerocrs/booking/items/flight
number text Flight number aerocrs/booking/items/flight
invid number Number of flight booking (used internal) aerocrs/booking/items/flight
invpricing money Total pricing in USD for the flight aerocrs/booking/items/flight
adults number Number of adults booked aerocrs/booking
child number Number of children booked aerocrs/booking
totalprice money Total amount for all booking aerocrs/booking
bookingid number Booking ID to be used in the API aerocrs/booking
<?xml version="1.0" encoding="utf-8"?>

Contact Us

Phone: +972 (3) 7219664
Fax: +972 (57) 7970943

Latest Blog Posts