Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 556 Bytes

File metadata and controls

26 lines (19 loc) · 556 Bytes

Import Groups

Import groups from a CSV file.

Steps:

  1. Authenticate via the Geotab API.
  2. Load the CSV file.
  3. Import groups into the database.

The included CSV is a sample — update group names as needed.

CSV layout

# ImportGroups.csv
# Structure: <parent group name>,<new group name>
# Both names must be unique. Lines beginning with '#' are ignored.
Organization,DriverGroup
Organization,VehicleGroups

Run

mvn exec:java -Dapp=importGroups -DfilePath=src/main/java/com/geotab/sdk/importgroups/ImportGroups.csv