API Documentation

Travelmanager Team
May 15, 2026
6 min read
Travelmanager

Security Checks

The API uses different access checks depending on the endpoint. Some calls require a portal token, others require an XML token or an authenticated user session. Rate limits may apply to selected endpoints. If an endpoint is intended for external systems, treat all tokens like passwords and do not expose them publicly.

Channel Manager API

Fetch Stations

Endpoint: GET /run_channelmanager_result.php?call=fetchstations&portal={portal}

Returns a list of available stations.

NameTypeRequiredDescriptionExample
portalIntegerYesCustomer number of the portal.71

Relations

Endpoint: GET /run_channelmanager_result.php?call=relations&portal={portal}&station_id={station_id}&date={date}&zielstation_id={zielstation_id}&hidePrice={hidePrice}&hideRueckfahrt={hideRueckfahrt}&lhf_id={lhf_id}&linie_id={linie_id}

Returns schedule data and connections between two stations for a specific date.

NameTypeRequiredDescriptionExample
portalIntegerYesCustomer number of the portal.71
station_idIntegerYesDeparture station ID.1
dateStringYesDate in YYYY-MM-DD format.2023-10-01
zielstation_idIntegerYesDestination station ID.2
hidePriceBooleanNotrue or false.false
hideRueckfahrtBooleanNotrue or false.false
lhf_idIntegerNoLine-station entry ID.3
linie_idIntegerNoLine ID.5

Availability

Endpoint: GET /run_channelmanager_result.php?call=availability&portal={portal}&product={product}&start={start}&stop={stop}

Checks availability for a product over a defined period.

NameTypeRequiredDescriptionExample
portalIntegerYesCustomer number of the portal.71
productStringYesProduct ID.12345
startStringYesStart date and time.2023-10-01 10:00:00
stopStringYesEnd date and time.2023-10-01 12:00:00

Cancel

Endpoint: GET /run_channelmanager_result.php?call=cancel&portal={portal}&booking_reference={booking_reference}

Cancels an existing reservation by booking reference.

NameTypeRequiredDescriptionExample
portalIntegerYesCustomer number of the portal.71
booking_referenceIntegerYesBooking reference.123456

Booking

Endpoint: POST /run_channelmanager_result.php?call=booking

Creates a new booking and returns booking details.

NameTypeRequiredDescriptionExample
productStringYesProduct ID.12345
customerStringYesCustomer name.Max Mustermann
customer_first_nameStringYesCustomer first name.Max
emailStringYesCustomer email address.max@mustermann.de
phoneStringNoCustomer phone number.0123456789
dateStringYesBooking date in YYYY-MM-DD format.2023-10-01
ticketArrayYesTickets with type and quantity.[{"id":1,"type":1,"quantity":2}]

Schedule Output API

The run_fahrplan_ausgabe.php endpoint provides schedule-related calls for external systems.

CallEndpointDescription
Event calendarrun_fahrplan_ausgabe.php?aktion=eventcalendarGenerates a calendar for events linked to line and station IDs.
Trip searchrun_fahrplan_ausgabe.php?aktion=fahrtsucheSearches available trips based on station, date range, and line type.
Categoriesrun_fahrplan_ausgabe.php?aktion=listcategoriesReturns categories relevant for lines and trips.
Traffic daysrun_fahrplan_ausgabe.php?aktion=verkehrstageReturns operating days for a line and date range.
Findrun_fahrplan_ausgabe.php?aktion=findenSearches trips based on line IDs, line type, and date.
Traffic days moderun_fahrplan_ausgabe.php?modus=verkehrstageReturns traffic days using mode-based parameters.

Typical parameters include station IDs, line IDs, line type IDs, start and end dates, and optional display flags such as newwindow or godirect.

XML API v1

The xml_v1.php API uses token and session checks for protected calls. Valid tokens are required for most actions.

ActionEndpointDescription
Background imageGET /xml_v1.php?aktion=background_imageReturns the background image URL or a default image.
Customer app bookingsGET /xml_v1.php?aktion=getBuchungen&kundennummer=123&email=test@example.comReturns bookings for a customer.
Token protectionGET /xml_v1.phpChecks whether the token is valid.
Live capacityGET /xml_v1.php?aktion=checkLiveCapacity&datum=2023-10-01&hafen_id=1&linie_hafen_fahrplan_id=2Checks availability for a date and station.
LoginPOST /xml_v1.php?aktion=loginAuthenticates a user and returns user data.
Cancel bookingGET /xml_v1.php?aktion=storno&reservierung_id=1Cancels a booking by reservation ID.
Payment methodsGET /xml_v1.php?aktion=getZahlartenReturns available payment methods.
Voucher valueGET /xml_v1.php?aktion=checkGutscheinValue&gutscheincode=ABC123&reservierung_id=1Checks the value of a voucher.
TicketsGET /xml_v1.php?aktion=getTickets&datum_start=2023-10-01&datum_stop=2023-10-31Returns tickets in a date range.
ItemsGET /xml_v1.php?aktion=getArtikel&kategorie_id=1&online=trueReturns items from a category.
Traffic daysGET /xml_v1.php?aktion=verkehrstage&linie_id=1Returns traffic days for a line.
Insert reservationPOST /xml_v1.php?aktion=insertReserverationCreates a new reservation from JSON data.

XML API v2

The xml_v2.php API is secured through token validation. Tokens can be passed through GET or POST requests.

CallEndpointDescription
Charter typesGET /xml_v2.php?call=purpReturns available charter or booking purpose types.
LocationsGET /xml_v2.php?call=locationsReturns available locations including region and operator IDs.
ResourcesGET /xml_v2.php?call=ressourcesReturns available resources, for example ships.
Place reservationGET /xml_v2.php?call=placeReserves a resource with the provided parameters.
Check itemGET /xml_v2.php?call=checkItemChecks item validity by barcode.
CancelGET /xml_v2.php?call=cancelCancels a reservation by booking number.
Price typesGET /xml_v2.php?call=getPriceTypesReturns available price types.
Product keysGET /xml_v2.php?call=getProductKeysReturns product keys for a portal.
RatingsGET /xml_v2.php?call=ratingsReturns ratings for a line.
Customer dataGET /xml_v2.php?call=getCustomerReturns customers based on customer category.
BookingsGET /xml_v2.php?call=getBookingsReturns bookings for a specific date.

Each call has specific parameters and should be tested with the relevant account configuration before productive use.

Last updated on May 15, 2026