Cyberesa Developers V2027.0.x
Hotel API · Reservations & credit

TripBookingList()

This function is dedicated to mTrip.com mobile application to get hotels and flight bookings made since specific date time and filters on the id Member if needed.

Request

XML Format

XML
<TripBookingListRQ>
  <Credential>
    <Login>?</Login>
    <Password>?</Password>
  </Credential>
  <User>?</User>
  <IdMember>?</IdMember>
  <Ilng>?</Ilng>
  <FromDate>?</FromDate>
</TripBookingListRQ>

JSON Format

JSON
{
  "TripBookingListRQ": {
    "Credential": {
      "Login": "?",
      "Password": "?"
    },
    "User": "?",
    "Ilng": "?",
    "FromDate": "?"
  }
}
RootSub rootDescriptionValues & FormatTag
Credential
LoginStringMandatory
PasswordStringMandatory
UserIdUser on CYBERESA SYSTEMIntegerMandatory
IdMemberId MemberIntegerOptional
IlngId of languageNumericOptional
FromDateRetrieve bookings based on creation datetimeyyyy/mm/dd hh:mm:ss.000Mandatory

Response

JSON Format

JSON
{
  "TripBookingListRS": {
    "Bookings": {
      "Booking": [
        {
          "@kind": "accommodation",
          "booking_number": "?",
          "name": "?",
          "from_date": "?",
          "to_date": "?",
          "adress": "?",
          "picture_url": "?",
          "tyoe_of_room": "?",
          "city": "?",
          "phone": "?",
          "email": "?",
          "location": {
            "latitude": "?",
            "longitude": "?"
          },
          "travelers": {
            "?": [
              {
                "name": "?",
                "type_of_room": "?"
              },
              {
                "name": "?",
                "type_of_room": "?"
              },
              {
                "name": "?",
                "type_of_room": "?"
              },
              {
                "name": "?",
                "type_of_room": "?"
              }
            ]
          }
        },
        {
          "@kind": "transport",
          "reservation_reference": "?",
          "transport_number": "?",
          "class": "?",
          "departure_date": "?",
          "departure_city": "?",
          "arrival_city": "?",
          "airline_company": "?",
          "departure_airport": "?",
          "departure_airport_iata": "?",
          "arrival_airport": "?",
          "arrival_airport_iata": "?",
          "departure_terminal": "?",
          "arrival_terminal": "?",
          "arrival_date": "?",
          "duration": "?",
          "departure_location": {
            "latitude": "?",
            "longitude": "?"
          },
          "Arrival_location": {
            "latitude": "?",
            "longitude": "?"
          },
          "travelers": {
            "traveler": {
              "name": " ?",
              "ticket_number": "?"
            }
          }
        }
      ]
    }
  }
}
RootSub rootDescriptionValues & FormatTag
booking[kind]Details of bookingstring, possible values
[kind="transport"]
[kind="accommodation"]
[kind="transport"]Details of transport object
reservation_referenceId Airticket on CYBERESA SYSTEMstringMandatory
transport_numberThe number identifying the transport, e.g. the flight number for a flight(PNR)stringMandatory
classThe transportation mode typestring, possible values
C,M, Economy With Restrictions…
Mandatory
departure_dateDeparture datedatetimeMandatory
departure_cityThe city from where the transport leavesstringMandatory
arrival_cityThe city to where the transport goesstringOptional
airline_companyThe company operating the transportstringOptional
departure_airportThe departure airport of a flight or the departure station for other transport modestringOptional
departure_airport_iataIATA code of the airportStringOptional
arrival_airportThe arrival airport or the arrival station for other transport modestringOptional
arrival_airport_iataIATA code of the airportstringOptional
departure_terminalThe departure terminalstringOptional
arrival_terminalThe arrival terminalstringOptional
arrival_dateArrival datedatetimeOptional
durationDuration of the triptime
Format: 1h :30m
Optional
departure_locationDeparture geo-locationlocationOptional
departure_location > latitudeLatitudelocationOptional
departure_location > longitudeLongitudelocationOptional
arrival_locationArrival geo-locationlocationOptional
arrival_location > latitudeLatitudelocationOptional
arrival_location > longitudeLongitudelocationOptional
travelersAn array of Traveler DetailsMandatory
travelers>travelerDetails of each travelerMandatory
travelers>traveler> nameTraveler’s namestringMandatory
travelers>traveler> ticket_numberTraveler’s e-ticketstringMandatory
[kind="accommodation"]Details of accomodation object
booking_numberThe booking number for the accommodationstringMandatory
nameHotel titlestringMandatory
from_dateCheck-in datedateMandatory
to_dateCheck-out datedateMandatory
locationGeo-location of the accommodationlocationOptional
location > latitudeLatitudelocationOptional
location > longitudeLongitudelocationOptional
addressAddress of the hotelstringOptional
picture_urlURL to an imagestringOptional
type_of_roomThe type of room bookedstringOptional
cityName of the destination to which the accommodation should be attached to.stringMandatory
phonePhone number (recommended format: +[country code] [phone number])stringOptional
emailEmail addressstringOptional
travelersAn array of Traveler DetailsMandatory
travelers>travelerDetails of each travelerMandatory
travelers>traveler> nametraveler’s namestringMandatory
travelers>traveler> type_of_roomThe type of room bookedstringOptional
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
© Cyberesa · Hotel API V2027.0.x · updated 09/10/2026