Import Routes 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 utility helps you import routes to your account using comma separated values (CSV). Routes on Geotab can be thought of as waypoints through a sequence of zones. Initially a cache will be created of all the zones currently on your account. The input provided is parsed and if all zone waypoints exist, a new route is saved to your account.
In this example
API Methods:Add Get
API Entities:Route Zone

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

RouteName1,ZoneName1|ZoneName2|ZoneName3|...|ZoneNameN,Comment
RouteName2,ZoneName1|ZoneName2|ZoneName3|...|ZoneNameN,Comment
RouteName3,ZoneName1|ZoneName2|ZoneName3|...|ZoneNameN,Comment

Each line represents a route to be imported. The sequence you name the route stops using zone names is the sequence the route
will save them as.If your route is a round trip, ensure that the first and last zone name are the same.

Template

You can use a spreadsheet application such as Microsoft Excel or Google Drive to import multiple routes at once.

Click here to download the Microsoft Excel template.