positions/get_border_crossings.php
Version 7.2 von YellowFox_RD am 2026/05/12 08:10
Beschreibung
GET positions/get_border_crossings.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&start=YYYY-MM-DDTHH:MM:SS+HH:mm&end=YYYY-MM-DDTHH:MM:SS+HH:mm
Parameter
| Parameter | Beschreibung | Typ | Hinweis | Pflicht |
|---|---|---|---|---|
| company | RTI Firmenschlüssel | string | ja | |
| vehicle | RTI Fahrzeugschlüssel | string | Es muss vehicle, group oder import angegeben werden. | (ja) |
| group | RTI Gruppenschlüssel | string | (ja) | |
| import | RTI Importschlüssel | string | (ja) | |
| start | Anfang des Abfragezeitraum | datestring | Format: ISO 8601 (YYYY-MM-DDTHH:MM:SS+HH:mm) | ja |
| end | Ende des Abfragezeitraum | datestring | Format: ISO 8601 (YYYY-MM-DDTHH:MM:SS+HH:mm) | ja |
| employeeNumber | Mitarbeiternummer | string | nein | |
| offset | Die Anfrage liefert maximal 1000 Datensätze zurück. Durch ein Offset können Sie den nächsten Block anfragen. | int | Standard: 0 | nein |
Rückgabe
Es wird ein string zurückgegeben. Im Fehlerfall wird "ERROR:Beschreibung" zurückgegeben.
JSON
Sie finden eine JSON Schema Beschreibung hier.
{
"_date": {
"query_date": "2026-05-11T08:33:10+02:00",
"start": "2026-04-04T02:00:00+02:00",
"end": "2026-05-04T23:15:00+02:00"
},
"_links": {
"next": {
"href": null
}
},
"has_more": false,
"items": [
{
"gpsDate": "2026-04-21T07:22:25+02:00",
"unit": {
"licensePlate": "FTL YF 123",
"rtiIdent": "U123"
},
"driver": {
"name": "Max Mustermann",
"key": "123456789",
"employeeNumber": "1"
},
"from": {
"countryCode": "D"
},
"to": {
"countryCode": "NL"
},
"position": {
"text": "NL-9057 Jelsum Aldlânsdyk",
"lat": 53.234474,
"lon": 5.7904854
}
}
]
}
"_date": {
"query_date": "2026-05-11T08:33:10+02:00",
"start": "2026-04-04T02:00:00+02:00",
"end": "2026-05-04T23:15:00+02:00"
},
"_links": {
"next": {
"href": null
}
},
"has_more": false,
"items": [
{
"gpsDate": "2026-04-21T07:22:25+02:00",
"unit": {
"licensePlate": "FTL YF 123",
"rtiIdent": "U123"
},
"driver": {
"name": "Max Mustermann",
"key": "123456789",
"employeeNumber": "1"
},
"from": {
"countryCode": "D"
},
"to": {
"countryCode": "NL"
},
"position": {
"text": "NL-9057 Jelsum Aldlânsdyk",
"lat": 53.234474,
"lon": 5.7904854
}
}
]
}
Beispielaufrufe
Abfrage für ein einzelnes Fahrzeug
https://map.yellowfox.de/rti/positions/get_border_crossings.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&start=2022-09-22T13:23:00%2B00:00:00&end=2022-09-25T13:23:00%2B00:00:00
Abfrage mit RTI Ident
https://map.yellowfox.de/rti/positions/get_border_crossings.php?company=COMPANY_RTIKEY&vehicle={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}&start=2022-09-22T13:23:00%2B00:00:00&end=2022-09-25T13:23:00%2B00:00:00

