Skip to content
Developer

Rooms and objects

Create or update rooms, halls and vehicles with number, name, location and equipment.

Format
CSV (semicolon or comma)
Access rights
Write access to events
Example files
Raeume_beispiel_technisch.csv (technical column names)
Räume_beispiel_anwender.csv (German column names)

In short: You enter each room or object with its own number in a table. vynst creates or updates them based on this number.

What you need this for

Rooms and objects are the places within a location where offers take place or which can be booked, for example course rooms, gymnastics rooms or a club bus. You later link offers to a room.

Before you start

  • You need the right Imports (menu item Import) and write access for events (Schreibrecht Veranstaltungen).
  • You should have created the locations beforehand via the import Locations (Orte). Then enter the location ID from that table in the column LOCATION_IDENTIFIER.
  • An administrator right is not required for this import.

Prepare the file

  • Format: CSV with semicolon ; or comma , as separator.
  • Header row: The first column is OBJECT_IDENTIFIER (or Raumnummer), the second OBJECT_NAME (or Name).
  • File name: It must contain .csv and begin with Räume or BOOKABLE_, for example Räume_Halle.csv. Alternatively the header row begins with OBJECT_IDENTIFIER;OBJECT_NAME.

Columns

Column Required Content Example
Raumnummer (also OBJECT_IDENTIFIER, Raum ID, Buchungsobjekt ID, BOOKABLE_IDENTIFIER) yes your number for the room or object R1
Name (also OBJECT_NAME, Klassenraumname, BOOKABLE_NAME) yes Name of the room or object Halle 1
Standort-ID (also LOCATION_IDENTIFIER, Orts-Nummer) Location ID from the locations import HALLE1
Raumtyp (also OBJECT_TYPE, Buchungsobjekttyp) Type of object. Only the fixed identifiers of vynst are allowed: room, vehicle, vehicle-ride-request, aircraft, item, parking-spot, parking-spot-travel, virtual-room, hotel-room, seminar-room, gym, dining-area. Other values remain without a type. gym
Barrierefrei ja or nein (accessible) ja
Etage (also Stockwerk) Floor EG
Fläche (also Fläche (m²)) Area as a whole number 480
Haustiere erlaubt ja or nein (pets allowed) nein
Sitzplätze (also Sitzplatzanzahl, Betten) Number as a whole number 40
max. Buchungsanzahl (also parallele Buchungen) Number as a whole number 2
Laderaumvolumen Volume as a whole number 6
Kraftstoffart Free text Diesel
Straße und Hausnummer (also Straße, Strasse) Street with house number of the room Lindenweg 4
Adresszusatz (also Zusatzadresse) for example a part of a building Hinterhaus
PLZ (also Postleitzahl) ZIP code of the room 30159
Ort (also Stadt, Wohnort) City of the room Hannover
Bundesland State Niedersachsen
Land (also Staat, Landname) Country as code or name DE
ADDRESS_GEO_LAT (also lat) Latitude as a decimal number with a point 52.3759
ADDRESS_GEO_LNG (also lng) Longitude as a decimal number with a point 9.7320
Telefon (also Telefonnummer) Phone number of the room 0511 1234501
E-Mail (also E-Mail-Adresse) Email address of the room halle@example.org
Fax (also Telefax) Fax number
Website (also Homepage) Internet address https://www.example.org/halle-1
Beschreibung (also Externe Beschreibung) Description for members Große Halle mit Tribüne
Interne Beschreibung Note for you only Hallenschlüssel beim Hausmeister
Bild URL (also Bild) Address of the image or number of the media file https://www.example.org/bilder/halle-1.jpg
Sichtbarkeit as for locations öffentlich
Sparte Sections, several separated by |~| FB
VISIBILITY_ACCESS_TAGS Access tags, several separated by |~|

Example

The technical file with the column names of the import:

OBJECT_IDENTIFIER;OBJECT_NAME;LOCATION_IDENTIFIER;OBJECT_TYPE;BARRIER_FREE;FLOOR_LEVEL;FLOOR_SIZE;PETS_ALLOWED;SEATING_CAPACITY;BOOKING_LIMIT;CARGO_VOLUME;FUEL_TYPE;EXTERNAL_DESCRIPTION;INTERNAL_DESCRIPTION;IMAGE_URL;ADDRESS_STREET_LEVEL;ADDRESS_CO;ADDRESS_ZIP;ADDRESS_CITY;ADDRESS_ADMIN_LEVEL_1;ADDRESS_COUNTRY;ADDRESS_GEO_LAT;ADDRESS_GEO_LNG;MAIN_PHONE;MAIN_EMAIL;MAIN_FAX;MAIN_WEBSITE;VISIBILITY_TYPE;UNIFIED_CATEGORY_IDENTIFIER
R1;Halle 1;HALLE1;gym;ja;EG;480;nein;40;2;;;Große Halle mit Tribüne;Hallenschlüssel beim Hausmeister;https://www.example.org/bilder/halle-1.jpg;Lindenweg 4;;30159;Hannover;Niedersachsen;DE;52.3759;9.7320;0511 1234501;halle@example.org;;https://www.example.org/halle-1;public;FB
R2;Kursraum 2;HALLE1;room;nein;1. OG;45;nein;12;1;;;Heller Kursraum mit Spiegelwand;Schlüssel im Kursbüro;;;;;;;;;;;;;;public;TUR
BUS1;Vereinsbus;VEREIN;vehicle;nein;;;nein;9;1;6;Diesel;Neunsitziger Vereinsbus;Fahrzeugschlüssel im Vereinsbüro;;;;;;;;;;;verein@example.org;;;public;FB

Example files: Raeume_beispiel_technisch.csv with the technical column names, Räume_beispiel_anwender.csv with the German column names.

The rooms R1 and R2 are at the location HALLE1 from the locations example. The room R1 is a hall with 40 seats and is accessible. The club bus BUS1 belongs to the location VEREIN. The room types gym, room and vehicle are fixed identifiers of vynst.

How to proceed

  1. Open Settings → Import (Einstellungen → Import).
  2. Click Add (Hinzufügen) and select the file.
  3. Check the log for Error: lines.

Good to know

  • If the room number already exists, the room is updated. A new number creates a new room.
  • If a column is missing from the file, its value remains unchanged. If the column is present but a text cell is empty, the old text is deleted. For numbers as well as ja and nein, the old value remains if the cell is empty. For new rooms, an empty yes/no cell counts as nein.
  • If the location ID is unknown, the room has no location afterwards. There is no message in the log for this. Therefore, check the location IDs.
  • The location ID LOCATION_IDENTIFIER is optional. If the cell is empty, the existing location remains unchanged.
  • Use letters and numbers for the room number where possible, for example R1. A pure number is first looked up by vynst as an internal number.

When something does not work

Message in the log Meaning What to do
Error: skipped missing identifier or name Room number or name is missing. The row appears below as LINE-DATA. Complete the row and re-import only this row.
Error: skipped empty line An empty row was skipped. Nothing.
Error: less then one line The file contains no data row. Check whether the file is complete.
Read: 12 rows This many rows were read. Nothing.
FAILED: No matching processor found. File name or header row does not match any import. Check the first two columns and the file name.

See also