Import stations
Permissions:
create_stations
Bulk-create stations in a product from a CSV file. From the product’s Stations page in Control Center, select Import (or open Data Bridge directly and choose the product), download the Stations template, fill it in, and upload it.
Stations can be updated. If a station with the same
EXTERNAL_IDalready exists in the ioki platform, its data is updated. Otherwise, a new station is created.
An import only updates and adds stations. It does not remove stations that are missing from the file, so uploading a new set of stations does not delete any existing station and does not affect existing prebookings on its own. To remove a station, archive it manually.
CSV columns
| Column | Required | Description |
|---|---|---|
NAME | Yes | The station name. |
LATITUDE | Yes | Decimal latitude in WGS84 (accepts . or , as the decimal separator). |
LONGITUDE | Yes | Decimal longitude in WGS84 (accepts . or ,). |
TYPE | Yes | Either static or virtual. |
DESCRIPTION | No | Free-text description. |
STREET_NAME | No | Street name. |
STREET_NUMBER | No | Street number. |
POSTAL_CODE | No | Postal code. |
CITY | No | City. |
COUNTY | No | County. |
COUNTRY | No | Country. |
DHID | No | Germany-wide unique station ID (DHID). |
EXTERNAL_ID | No | External identifier. |
BOARDING_TIME | No | Boarding time in seconds. |
WHEELCHAIR_BOARDING_TIME | No | Wheelchair boarding time in seconds. |
WALKER_BOARDING_TIME | No | Walker boarding time in seconds. |
PARKING_TIME | No | Parking time in seconds. |
CATEGORY | No | A station category slug. |
TARIFF_CODES | No | Comma-separated list of tariff codes. |
MUNICIPALITY | No | Municipality. |
VISIBLE_ON_MAP_IN_PASSENGER_CLIENT | No | Whether the station is shown on the passenger-app map (boolean, default true). |
APPROACH | No | Either curbside or street. |
The
CATEGORYcolumn references a station category by slug. If a category with that slug already exists in the product, the station is assigned to it. If it does not exist, the import creates it, using the slug as the title and assigning a color. Station categories cannot be imported on their own; they are only created this way, as part of a station import.