Interne EFA-API
Dokumentation
Inhaltliche Hinweise
Dokumentation
Inhaltliche Hinweise
GitHub
  1. Requests/Responses
  • Ortssuche (SF)
    GET
  • Routen an Haltestelle (SL)
    GET
  • Verbindungsabfrage (TRIP2)
    GET
  • Abfahrten/Ankünfte (DM)
    GET
  • Meldungen (ADDINFO)
    GET
  • Systeminformation (SYSTEMINFO)
    GET
  • Haltestellen einer Fahrt (TRIPSTOPTIMES)
    GET
  • Haltestellen-Info (STOPSTRUCTURE)
    GET
  • DMTTP
    GET
  • Verbindung(en) aktualisieren (GETRTFORTRIP)
    POST
  • Verbindung: Datenmodifikation
    POST
  • Schemas
    • Requests/Responses
      • SF
      • SL
      • TRIP2
      • DM
      • ADDINFO
      • GETRTFORTRIP-Single
      • GETRTFORTRIP-Multiple
      • SYSTEMINFO
      • TRIPSTOPTIMES
    • Abstract Objects
      • ProductTypes
      • LocationTypes
      • InfoTypes
    • Journey
    • JourneyLeg
    • FareContainer
    • Ticket
    • Zone
    • TicketValidityCondition
    • DaysOfService
    • LocationAccessContainer
    • LocationStopPointAccess
    • Trip
    • TripHint
    • TripHintProperties
    • ShortInformation
    • InformationProperties
    • InformationAffection
    • Infrastructure
    • PathDescription
    • PathDescriptionProperties
    • LegInterchange
    • LegProperties
    • VehicleAccess
    • VehicleAccessEquipmentContainer
    • VehicleAccessVehicleEquipment
    • FootPathInfo
    • FootPathElement
    • FootPathElementAttributes
    • CoordDistance
    • StopEvent
    • StopEventProperties
    • ServerInfo
    • UntimedLocationProperties
    • TimedLocation
    • UntimedLocation
    • UntimedLocationSearchResult
    • TicketProperties
    • FootpathLocation
    • FootpathLocationProperties
    • ShortTrip
    • Information
    • ShortInformationLink
    • ShortInformationProperties
    • ServingLine
    • KernelInformation
    • SystemMessage
    • ShortLocation
    • TimedLocationProperties
    • Operator
    • TimePeriod
    • TripStopTimeLeg
    • InformationSource
    • InformationLink
    • InformationTimestamps
    • Product
    • InformationContainer
    • TripProperties
Dokumentation
Inhaltliche Hinweise
Dokumentation
Inhaltliche Hinweise
GitHub
  1. Requests/Responses

TRIP2

{
    "serverInfo": {
        "controllerVersion": "string",
        "serverID": "string",
        "virtDir": "string",
        "serverTime": "string",
        "calcTime": 0,
        "logRequestId": "string"
    },
    "version": "string",
    "systemMessages": [
        {
            "type": "warning",
            "module": "string",
            "code": 0,
            "text": "string",
            "subType": "string"
        }
    ],
    "journeys": [
        {
            "rating": 0,
            "isAdditional": true,
            "notRecommended": true,
            "explainedByIdx": "string",
            "realtimeExplanationIdx": "string",
            "interchanges": 0,
            "legs": [
                {
                    "realtimeStatus": [
                        "MONITORED"
                    ],
                    "isRealtimeControlled": true,
                    "duration": 0,
                    "distance": 0,
                    "origin": {
                        "isGlobalId": true,
                        "id": "string",
                        "name": "Hannover Bf K.-Wiechert-Allee",
                        "disassembledName": "Bahnhof Karl-Wiechert-Allee",
                        "type": "locality",
                        "pointType": "TRACK",
                        "coord": [
                            0
                        ],
                        "niveau": 0,
                        "parent": {
                            "isGlobalId": true,
                            "id": "string",
                            "name": "Hannover Bf K.-Wiechert-Allee",
                            "disassembledName": "Bahnhof Karl-Wiechert-Allee",
                            "type": "locality",
                            "coord": [
                                0
                            ],
                            "parent": {
                                "id": "string",
                                "name": "string",
                                "type": "locality"
                            },
                            "productClasses": [
                                0
                            ],
                            "properties": {
                                "stopId": "string",
                                "mainLocality": "string"
                            },
                            "connectingMode": 0
                        },
                        "productClasses": [
                            0
                        ],
                        "properties": {
                            "AREA_NIVEAU_DIVA": "-1",
                            "areaGid": "string",
                            "area": 0,
                            "platform": "string",
                            "platformName": "string",
                            "plannedPlatformName": "string",
                            "stoppingPointPlanned": "string",
                            "zone": "string",
                            "callType": [
                                "NOBOARDING"
                            ],
                            "realtimeStatus": [
                                "NO_CALL_AT_STOP"
                            ],
                            "accessArray": [
                                {
                                    "stoppointAccess": {
                                        "height": 0,
                                        "equipment": 0,
                                        "maxWeight": 0,
                                        "distanceTrack": 0,
                                        "lengthAvail": 0,
                                        "widthAvail": 0,
                                        "attributes": 0,
                                        "stepFromStreet": 0
                                    }
                                }
                            ],
                            "stopId": "string",
                            "AREA_NIVEAU_GIS": "-1.00",
                            "platformChange": "changed",
                            "DestinationText": "string"
                        },
                        "arrivalTimePlanned": "string",
                        "arrivalTimeBaseTimetable": "string",
                        "arrivalTimeEstimated": "string",
                        "departureTimePlanned": "string",
                        "departureTimeBaseTimetable": "string",
                        "departureTimeEstimated": "string",
                        "assignedStops": [
                            {
                                "isGlobalId": true,
                                "id": "string",
                                "name": "Hannover Bf K.-Wiechert-Allee",
                                "disassembledName": "Bahnhof Karl-Wiechert-Allee",
                                "type": "locality",
                                "coord": [
                                    0
                                ],
                                "parent": {
                                    "id": "string",
                                    "name": "string",
                                    "type": "locality"
                                },
                                "productClasses": [
                                    0
                                ],
                                "properties": {
                                    "stopId": "string",
                                    "mainLocality": "string"
                                },
                                "connectingMode": 0
                            }
                        ],
                        "connectingMode": 0,
                        "isCancelled": true
                    },
                    "destination": {
                        "isGlobalId": true,
                        "id": "string",
                        "name": "Hannover Bf K.-Wiechert-Allee",
                        "disassembledName": "Bahnhof Karl-Wiechert-Allee",
                        "type": "locality",
                        "pointType": "TRACK",
                        "coord": [
                            0
                        ],
                        "niveau": 0,
                        "parent": {
                            "isGlobalId": true,
                            "id": "string",
                            "name": "Hannover Bf K.-Wiechert-Allee",
                            "disassembledName": "Bahnhof Karl-Wiechert-Allee",
                            "type": "locality",
                            "coord": [
                                0
                            ],
                            "parent": {
                                "id": "string",
                                "name": "string",
                                "type": "locality"
                            },
                            "productClasses": [
                                0
                            ],
                            "properties": {
                                "stopId": "string",
                                "mainLocality": "string"
                            },
                            "connectingMode": 0
                        },
                        "productClasses": [
                            0
                        ],
                        "properties": {
                            "AREA_NIVEAU_DIVA": "-1",
                            "areaGid": "string",
                            "area": 0,
                            "platform": "string",
                            "platformName": "string",
                            "plannedPlatformName": "string",
                            "stoppingPointPlanned": "string",
                            "zone": "string",
                            "callType": [
                                "NOBOARDING"
                            ],
                            "realtimeStatus": [
                                "NO_CALL_AT_STOP"
                            ],
                            "accessArray": [
                                {
                                    "stoppointAccess": {
                                        "height": 0,
                                        "equipment": 0,
                                        "maxWeight": 0,
                                        "distanceTrack": 0,
                                        "lengthAvail": 0,
                                        "widthAvail": 0,
                                        "attributes": 0,
                                        "stepFromStreet": 0
                                    }
                                }
                            ],
                            "stopId": "string",
                            "AREA_NIVEAU_GIS": "-1.00",
                            "platformChange": "changed",
                            "DestinationText": "string"
                        },
                        "arrivalTimePlanned": "string",
                        "arrivalTimeBaseTimetable": "string",
                        "arrivalTimeEstimated": "string",
                        "departureTimePlanned": "string",
                        "departureTimeBaseTimetable": "string",
                        "departureTimeEstimated": "string",
                        "assignedStops": [
                            {
                                "isGlobalId": true,
                                "id": "string",
                                "name": "Hannover Bf K.-Wiechert-Allee",
                                "disassembledName": "Bahnhof Karl-Wiechert-Allee",
                                "type": "locality",
                                "coord": [
                                    0
                                ],
                                "parent": {
                                    "id": "string",
                                    "name": "string",
                                    "type": "locality"
                                },
                                "productClasses": [
                                    0
                                ],
                                "properties": {
                                    "stopId": "string",
                                    "mainLocality": "string"
                                },
                                "connectingMode": 0
                            }
                        ],
                        "connectingMode": 0,
                        "isCancelled": true
                    },
                    "transportation": {
                        "id": "string",
                        "name": "R-Bahn RE3",
                        "disassembledName": "RE3",
                        "number": "RE3",
                        "product": {
                            "id": 0,
                            "class": 0,
                            "name": "footpath",
                            "iconId": 0
                        },
                        "operator": {
                            "code": "string",
                            "id": "string",
                            "name": "string"
                        },
                        "origin": {
                            "id": "string",
                            "name": "string",
                            "type": "locality"
                        },
                        "destination": {
                            "id": "string",
                            "name": "string",
                            "type": "locality"
                        },
                        "properties": {
                            "trainName": "Regional-Express",
                            "trainType": "RE",
                            "trainNumber": "82133",
                            "tripCode": 0,
                            "timetablePeriod": "string",
                            "specialFares": "ROUTE_OUTSIDE_OF_TRANSPORT_AUTHORITY_AREA",
                            "lineDisplay": "TRAIN",
                            "OperatorURL": "string",
                            "globalId": "string",
                            "isTTB": true,
                            "isSTT": true,
                            "validity": {
                                "from": "2019-08-24T14:15:22.123Z",
                                "to": "2019-08-24T14:15:22.123Z",
                                "isOpenEnd": true
                            }
                        },
                        "description": "string"
                    },
                    "hints": [
                        {
                            "content": "string",
                            "providerCode": "string",
                            "type": "Timetable",
                            "properties": {
                                "subnet": "string"
                            }
                        }
                    ],
                    "stopSequence": [
                        {
                            "isGlobalId": true,
                            "id": "string",
                            "name": "Hannover Bf K.-Wiechert-Allee",
                            "disassembledName": "Bahnhof Karl-Wiechert-Allee",
                            "type": "locality",
                            "pointType": "TRACK",
                            "coord": [
                                0
                            ],
                            "niveau": 0,
                            "parent": {
                                "isGlobalId": true,
                                "id": "string",
                                "name": "Hannover Bf K.-Wiechert-Allee",
                                "disassembledName": "Bahnhof Karl-Wiechert-Allee",
                                "type": "locality",
                                "coord": [
                                    0
                                ],
                                "parent": {
                                    "id": "string",
                                    "name": "string",
                                    "type": "locality"
                                },
                                "productClasses": [
                                    0
                                ],
                                "properties": {
                                    "stopId": "string",
                                    "mainLocality": "string"
                                },
                                "connectingMode": 0
                            },
                            "productClasses": [
                                0
                            ],
                            "properties": {
                                "AREA_NIVEAU_DIVA": "-1",
                                "areaGid": "string",
                                "area": 0,
                                "platform": "string",
                                "platformName": "string",
                                "plannedPlatformName": "string",
                                "stoppingPointPlanned": "string",
                                "zone": "string",
                                "callType": [
                                    "NOBOARDING"
                                ],
                                "realtimeStatus": [
                                    "NO_CALL_AT_STOP"
                                ],
                                "accessArray": [
                                    {
                                        "stoppointAccess": {
                                            "height": 0,
                                            "equipment": 0,
                                            "maxWeight": 0,
                                            "distanceTrack": 0,
                                            "lengthAvail": 0,
                                            "widthAvail": 0,
                                            "attributes": 0,
                                            "stepFromStreet": 0
                                        }
                                    }
                                ],
                                "stopId": "string",
                                "AREA_NIVEAU_GIS": "-1.00",
                                "platformChange": "changed",
                                "DestinationText": "string"
                            },
                            "arrivalTimePlanned": "string",
                            "arrivalTimeBaseTimetable": "string",
                            "arrivalTimeEstimated": "string",
                            "departureTimePlanned": "string",
                            "departureTimeBaseTimetable": "string",
                            "departureTimeEstimated": "string",
                            "assignedStops": [
                                {
                                    "isGlobalId": true,
                                    "id": "string",
                                    "name": "Hannover Bf K.-Wiechert-Allee",
                                    "disassembledName": "Bahnhof Karl-Wiechert-Allee",
                                    "type": "locality",
                                    "coord": [
                                        0
                                    ],
                                    "parent": {
                                        "id": "string",
                                        "name": "string",
                                        "type": "locality"
                                    },
                                    "productClasses": [
                                        0
                                    ],
                                    "properties": {
                                        "stopId": "string",
                                        "mainLocality": "string"
                                    },
                                    "connectingMode": 0
                                }
                            ],
                            "connectingMode": 0,
                            "isCancelled": true
                        }
                    ],
                    "infos": [
                        {
                            "priority": "normal",
                            "id": "string",
                            "version": 0,
                            "type": "string",
                            "infoLinks": [
                                {
                                    "url": "string",
                                    "content": "string",
                                    "title": "string",
                                    "subtitle": "string",
                                    "urlText": "string",
                                    "additionalContent": "string",
                                    "properties": {
                                        "publisher": "string",
                                        "infoType": "string",
                                        "incidentDateTime": "string"
                                    }
                                }
                            ],
                            "properties": {
                                "publisher": "string",
                                "infoType": "string",
                                "incidentDateTime": "string"
                            }
                        }
                    ],
                    "coords": [
                        [
                            0
                        ]
                    ],
                    "pathDescriptions": [
                        {
                            "turnDirection": "UNKNOWN",
                            "manoeuvre": "ORIGIN",
                            "name": "string",
                            "coord": [
                                0
                            ],
                            "duration": 0,
                            "cumDuration": 0,
                            "distance": 0,
                            "cumDistance": 0,
                            "fromCoordsIndex": 0,
                            "toCoordsIndex": 0,
                            "properties": {
                                "INDOOR_TYPE": "BUILDING_WAY",
                                "TRACK_ILLUMINATED": "true",
                                "FLOOR_LEVEL_CHANGE_DIRECTION": "UP",
                                "FLOOR_LEVEL_DIFFERENCE": "string",
                                "OUTDOOR_TYPE": "BUILDING_WAY"
                            },
                            "skyDirection": 0
                        }
                    ],
                    "interchange": {
                        "desc": "string",
                        "type": 0,
                        "coords": [
                            [
                                0
                            ]
                        ]
                    },
                    "properties": {
                        "vehicleAccess": [
                            {
                                "height": 0,
                                "halfWidth": 0,
                                "doorWidth": 0,
                                "attributes": 0,
                                "areaToStay": 0,
                                "areaToMove": 0,
                                "equipments": [
                                    {
                                        "vehicleEquipment": {
                                            "equipmentType": 0,
                                            "length": 0,
                                            "width": 0,
                                            "lengthAtPl": 0,
                                            "widthAtPl": 0,
                                            "maxWeight": 0
                                        }
                                    }
                                ]
                            }
                        ],
                        "PlanLowFloorVehicle": "string",
                        "PlanWheelChairAccess": "string",
                        "lineType": [
                            "HIGHSPEEDTRAIN"
                        ]
                    },
                    "footPathInfo": [
                        {
                            "position": "IDEST",
                            "duration": 0,
                            "footPathElem": [
                                {
                                    "description": "string",
                                    "type": "UNKNOWN",
                                    "levelFrom": 0,
                                    "levelTo": 0,
                                    "level": "UP",
                                    "origin": {
                                        "isGlobalId": true,
                                        "id": "string",
                                        "name": "Bahnhof Karl-Wiechert-Allee",
                                        "type": "stop",
                                        "coord": [
                                            0
                                        ],
                                        "properties": {
                                            "area": 0,
                                            "platform": 0,
                                            "georef": "string",
                                            "areaGid": "string",
                                            "areaType": 0
                                        }
                                    },
                                    "destination": {
                                        "isGlobalId": true,
                                        "id": "string",
                                        "name": "Bahnhof Karl-Wiechert-Allee",
                                        "type": "stop",
                                        "coord": [
                                            0
                                        ],
                                        "properties": {
                                            "area": 0,
                                            "platform": 0,
                                            "georef": "string",
                                            "areaGid": "string",
                                            "areaType": 0
                                        }
                                    },
                                    "attributes": {
                                        "duration": 0,
                                        "distance": 0,
                                        "narrowestWidth": -1,
                                        "elevLength": 0,
                                        "elevWidth": 0,
                                        "elevDoorWidth": 0,
                                        "rampLength": 0,
                                        "rampWidth": 0,
                                        "rampInclination": 0,
                                        "numberSteps": 0,
                                        "maxStepHeight": 0
                                    },
                                    "openingHours": [
                                        "string"
                                    ]
                                }
                            ]
                        }
                    ],
                    "footPathInfoRedundant": true
                }
            ],
            "fare": {
                "tickets": [
                    {
                        "id": "string",
                        "name": "string",
                        "comment": "",
                        "URL": "",
                        "currency": "EUR",
                        "priceLevel": "string",
                        "priceLevelUnit": "string",
                        "priceBrutto": 0,
                        "priceNetto": 0,
                        "taxPercent": 1.23,
                        "fromLeg": 0,
                        "toLeg": 0,
                        "net": "string",
                        "person": "ADULT",
                        "travellerClass": "FIRST",
                        "timeValidity": "DAY",
                        "validMinutes": 0,
                        "validityExtent": "string",
                        "isShortHaul": "YES",
                        "returnsAllowed": "YES",
                        "validForOneJourneyOnly": "YES",
                        "validForOneOperatorOnly": "YES",
                        "isSupplement": "string",
                        "numberOfChanges": 0,
                        "nameValidityArea": "Kurzstrecke",
                        "properties": {
                            "tariffProductDefault": [
                                {}
                            ],
                            "tariffProductOption": [
                                {}
                            ],
                            "numberOfUnits": 0,
                            "units_per_trip": "string",
                            "totalUnits": 0,
                            "number_units": "string",
                            "validityCondition": {
                                "type": "PRICELEVEL"
                            }
                        }
                    }
                ],
                "zones": [
                    {
                        "net": "string",
                        "toLeg": 0,
                        "fromLeg": 0,
                        "neutralZone": "string",
                        "zones": [
                            [
                                "string"
                            ]
                        ],
                        "zonesUnited": [
                            [
                                "string"
                            ]
                        ]
                    }
                ]
            },
            "daysOfService": {
                "rvb": "string"
            },
            "isRealtimeOnlyInformative": true,
            "tripImpossible": true
        }
    ]
}
Built with