Import Devices Example
Skill level:

This example demonstrates a tool that can be built with an intermediate-level knowledge of the MyGeotab system. It is suitable for those who have a good understanding of the Geotab ecosystem and are comfortable with the MyGeotab SDK and leveraging the MyGeotab APIs within their projects.

This example imports devices to your account using comma-separated values (CSV). The provided input will be parsed, added, and saved to your account. Please note the following rules:

  1. The `GroupName` field cannot be an `AssetType`.
  2. If an `AssetType` value is not provided or not found, it will default to "Vehicle".
  3. If the `Vin` field is not given, it will be treated as an empty string.
Please ensure your CSV input follows these guidelines to ensure a successful device import.

In this example
API Methods:Add Get
API Entities:Device Group

Use the text box below to import multiple devices at a time. Place each device on its own line as follows:

SerialNumber,Name,GroupName,AssetType(Optional),VIN(Optional)
SerialNumber,Name,GroupName,AssetType(Optional),VIN(Optional)
SerialNumber,Name,GroupName,AssetType(Optional),VIN(Optional)