Shows a list of cars which are affected by a RTI request.
Description
GET get_cars.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY
Parameter
Parameter | Description | Typ | Note | Mandatory |
---|---|---|---|---|
company | RTI company key | string | yes | |
vehicle | RTI vehicle key | string | either vehicle, group or import parameter | (yes) |
group | RTI group key | string | either vehicle, group or import parameter | (yes) |
import | RTI import key | string | either vehicle, group or import parameter | (yes) |
Return
Return a string. In case of error it returns "ERROR:Description".
Meta informations
Separator | Semicolon ( ; ) |
---|---|
Delimiter | Double quote ( " ) |
Line break | 0x0D 0x0A (CarriageReturn LineFeed) |
Header | Line 1 |
Encoding | UTF-8 |
Columns
Column | Description |
---|---|
CARNAME | name of the vehicle |
IDENT |
Example
Return in CSV
"CARNAME";"IDENT" "CAR1";"IDENT1" "CAR2";"IDENT2" "CAR3";"IDENT3" "CAR4";"IDENT4" "CAR5";"IDENT5" "CAR6";"IDENT6"
Example Calls
Name of one vehicle
https://map.yellowfox.de/rti/get_cars.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY
Returns all cars of a group
https://map.yellowfox.de/rti/get_cars.php?company=COMPANY_RTIKEY&group=GROUP_RTIKEY
All cars, which are requestable over the RTI
https://map.yellowfox.de/rti/get_cars.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY