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

Element Type Details
<request>
string The request itself
<id>
string The ID given by AeroCRS
<password>
string The password give by AeroCRS
<bookingconfirmation>
string <bookingconfirmation> as accepted on confirmBooking
<?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

Element Type Details
<bookingid>
string Booking confirmation string
<pnrref>
string PNR Ref (Booking ref)
<ticketnumber>
number Number of ticket (if ticketed)
<invoicenumber>
invoice Invoice number (if ticketed)
<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
<flights> element contains all flights information in the booking, each flight is represented by a <flight> element
<airline>
text Airline name
<from>
text From destination name
<to>
text To destination name
<flightdate>
date YYYY/MM/DD date of flight
<depart>
time HH:MM time of departure
<arrive>
time HH:MM time of arrival
<number>
text Flight number
<invid>
number Number of flight booking (used internal)
<invpricing>
money Total pricing in USD for the flight
Each <passenger> element within <passengers> element represents a passenger in the booking
<paxtitle>
text Passenger title
<lastname>
text Passenger last name
<firstname>
text Passenger first name
Each <remark> element within <remarks> element represents a remark in the booking
<text>
text Remark text
Each <voucher> element within <vouchers> element represents a voucher (LPO) in the booking
<agentconfirmation>
text Agent reference as inserted in createBooking
<vccreated>
date YYYY/MM/DD date time of the system when creating the voucher
<vctotal>
money Pricing of 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