Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Latest commit

 

History

History
49 lines (29 loc) · 1.23 KB

File metadata and controls

49 lines (29 loc) · 1.23 KB

Route

Route is linear list of WGS84 coordinates which represents stops (it's not a Station!).

Each stop in the Route can have a Station assigned.

Station is a place where the car stops and waits for load/unload.

Properties

  • color: string. String which represents color in hex format #FFFFFF
  • name: string. Name of the route
  • stops: [RouteStop]
  • RouteStop:
    • latitude: float
    • longitude: float
    • order: int. The route is constructed by sorting stops by order from the smallest to the largest
    • station: StationInfo
    • StationInfo:
      • id: int. Id of the Station entity. other fields like name and contactPhone are taken from Station entity represented by id
      • name: string. Id
      • contactPhone: string. Station contact phone for Twilio notification

Warning: not all attributes can be changed by GraphQL API.

Route Create/Edit

  • Go to the settings

settings entry

setting

Update

  • Click on route update, update route setting and click to Save

route edit

Create

  • Click on Create Route, fill up route points and click to Save