GetBooking

API getBooking Request

  • This request will give you the booking details according to a booking confirmation string (taken from confirmBooking or received manually from AeroCRS agents portal)
  • You can use this getBooking request from time to time, you don’t have to use it within the booking process.

Send

Variable Variable type Details Container
request string The request itself aerocrsapi
id string The ID given by AeroCRS aerocrsapi/connector
password string The password give by AeroCRS aerocrsapi/connector
bookingconfirmation string Booking confirmation as accepted on confirmBooking aerocrsapi/parms
<?xml version="1.0" encoding="utf-8"?>
<aerocrsapi>
  <request>getBooking</request>
  <connector>
    <id>17C99F8D-6358-420C-A322-C71EA9592651</id>
    <password>test</password>
  </connector>
  <parms>
    <bookingconfirmation>E552B36E-1A3C-4B24-9072-4B573879EDD8</bookingconfirmation>
  </parms>
</aerocrsapi>

Receive

Variable Variable type Details Container
booking container Contains all booking information aerocrs
bookingid string Booking confirmation string aerocrs/booking
pnrref string PNR Ref (Booking ref) aerocrs/booking
ticketnumber number Number of ticket (if ticketed) aerocrs/booking
invoicenumber invoice Invoice number (if ticketed) aerocrs/booking
status string OK – PNR is OK and approved
PN – PNR is in PENDING status and will be kept for 24 hours for manual approving with the airline
aerocrs/booking
flights container Contains all flights information in the booking aerocrs/booking
airline text Airline name aerocrs/booking/flights
from text From destination name aerocrs/booking/flights
to text To destination name aerocrs/booking/flights
flightdate date YYYY/MM/DD date of flight aerocrs/booking/flights
depart time HH:MM time of departure aerocrs/booking/flights
arrive time HH:MM time of arrival aerocrs/booking/flights
number text Flight number aerocrs/booking/flights
invid number Number of flight booking (used internal) aerocrs/booking/flights
invpricing money Total pricing in USD for the flight aerocrs/booking/flights
passengers container Contains all the passengers in the booking aerocrs/booking
passenger container Contains a specific passenger aerocrs/booking/passengers
paxtitle text Passenger title aerocrs/booking/passengers/passenger
lastname text Passenger last name aerocrs/booking/passengers/passenger
firstname text Passenger first name aerocrs/booking/passengers/passenger
remarks container Contains all remarks (if any) aerocrs/booking
remark container Contains a specific remark aerocrs/booking/remarks
text text Remark text aerocrs/booking/remarks/remark
vouchers container Contains all vouchers (if any) aerocrs/booking
voucher container Contains a specific voucher information aerocrs/booking/vouchers
agentconfirmation text Agent reference as inserted in createBooking aerocrs/booking/vouchers/voucher
vccreated date YYYY/MM/DD date time of the system when creating the voucher aerocrs/booking/vouchers/voucher
vctotal money Pricing of voucher aerocrs/booking/vouchers/voucher
<?xml version="1.0" encoding="utf-8"?>
<aerocrs>
  <booking>
    <bookingid>3751078</bookingid>
    <bookingconfirmation>E552B36E-1A3C-4B24-9072-4B573879EDD8</bookingconfirmation>
    <pnrref>4E552B</pnrref>
    <ticketnumber>114531</ticketnumber>
    <invoicenumber>78958</invoicenumber>
    <status>OK</status>
    <flights>
      <flight>
        <airline>Safarilink</airline>
        <from>Nairobi-Wilson</from>
        <to>Amboseli</to>
        <flightdate>2012/03/13</flightdate>
        <depart>08:15</depart>
        <arrive>08:55</arrive>
        <number>011</number>
        <invid>429205</invid>
        <invpricing>270.00</invpricing>
      </flight>
      <flight>
        <airline>Safarilink</airline>
        <from>Amboseli</from>
        <to>Nairobi-Wilson</to>
        <flightdate>2012/03/14</flightdate>
        <depart>09:05</depart>
        <arrive>09:50</arrive>
        <number>012</number>
        <invid>429206</invid>
        <invpricing>263.00</invpricing>
      </flight>
    </flights>
    <passengers>
      <passenger>
        <paxtitle>Mr.</paxtitle>
        <lastname>John</lastname>
        <firstname>Doe</firstname>
     </passenger>
     <passenger>
       <paxtitle>Mrs.</paxtitle>
       <lastname>An</lastname>
       <firstname>Doe</firstname>
    </passenger>
  </passengers>
  <remarks>
    <remark>
      <text>test only</text>
    </remark>
  </remarks>
  <vouchers>
   <voucher>
     <agentconfirmation>apiconnector</agentconfirmation>
     <vccreated>2011/12/05</vccreated>
     <vctotal>533.00</vctotal>
   </voucher>
 </vouchers>
</booking>
</aerocrs>

Contact Us

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

Latest Blog Posts