Cyberesa Developers V2027.0.x
Flight API · Booking

FlightImportPNR

The FlightImportPNR enables customer to import PNRs.When process is successfully finished, the API returns the PNR reference and Cyberesa local reference. Otherwise it returns a friendly error message within an Error Node.

XML
<FlightImportPNRRQ>
  <Credentials>
<Login>?</Login>
<Password>?</Password>
  </Credentials>
  <User>?</User>
  <Curr>?</Curr>
  <Ilng>?</Ilng>
  <PNRReference>?</PNRReference>
  <OfficeID>?</OfficeID>
  <PromoCodes>?</PromoCodes>
</FlightImportPNRRQ>
RootSub rootTagDescriptionValues & Format
CredentialsMandatory
LoginMandatory
PasswordMandatory
UserMandatory
CurrOptionalCurrency Code3 digits
TND
EUR
IlngMandatory
PNRReferenceMandatoryPNR Reference
OfficeIDMandatoryTarget OfficeID
PromoCodesOptionalPromoCodes separated with semicolons(;)

Response

XML
<FlightImportPNRRS>
  <Error id="">
    <Message>?</Message>
  </Error>
  <CyberesaReference>?</CyberesaReference>
  <PNRReference>?</ PNRReference >
  <Itineraries>
    <Itinerary>
      <Company title="?">?</Company>
      <FlightNumber>?</FlightNumber>
      <DepartureDate>?</DepartureDate>
      <OriginalTerminal>?</OriginalTerminal>
      <Origin title="?">?</Origin>
      <ArrivalDate>?</ArrivalDate>
      <DestinationTerminal>?</DestinationTerminal>
      <Destination title="?">?</Destination>
      <Equipment>?</Equipment>
      <Cabin title="?">?</Cabin>
    </Itinerary>
  </Itineraries>
  <Passengers>
      <Passenger>
         <FirstName>?</FirstName>
         <LastName>?</LastName>
         <Rates>
         <AmountWithoutTax>?</AmountWithoutTax>
         <AmountWithTax>?</AmountWithTax>
         <Tax>?</Tax>
         <TaxDetails>?</TaxDetails>
         <Currency>?</Currency>
         </Rates>
      </Passenger>
   </Passengers>
  <Price>
    <Amount>?</Amount>
    <Tax>?</Tax>
    <Currency>?</Currency>
    <Fees>?</Fees>
  </Price>
</FlightImportPNRRS >
RootSub rootTagDescriptionValues & Format
ErrorReturned on error
IdInternal error id
MessageFriendly error message that helps user to be aware of error reasons
CyberesaReferenceReference of the new booking in Cyberesa systemReturned on success
ItinerariesPNR reference of the imported booking
Itinerary
Itinerary:CompanyThe code company of an itinerary.
Itinerary:FlightNumberThe flight number of an itinerary.
Itinerary:DepartureDateThe date of departure.
Itinerary:OriginTerminalThe terminal of departure.
Itinerary:OriginThe code airport of departure.
Itinerary:ArriveDateThe date of arrival.
Itinerary:DestinationTerminalThe terminal of arrival.
Itinerary:DestinationThe code airport of arrival.
Itinerary:EquipmentThe code of equipment type.
Itinerary:CabinThe class of an itinerary.
PassengersPassenger Details : to show price break down per passenger
Passenger
Passenger:FirstNameFirst Name of passenger
Passenger:LastNameLast Name of passenger
Passenger:Rates:AmountWithoutTaxAmount Without Tax per passenger
Passenger:Rates:AmountWithTaxAmount With Tax per passenger
Passenger:Rates:TaxTax per passenger
Passenger:Rates:CurrencyCurrency of amount
Passenger:Rates:TaxDetailsDetails of Tax per passanger
Price
AmountThe total amount.
TaxThe total tax.
CurrencyThe code currency of the current price.
FeesThe margin
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V) Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE · Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net 30/10/2023 –
© Cyberesa · Flight API V2027.0.x · updated 27/08/2026