GET /api/my_waypoints
Get waypoints of current user

Returns the list of current user’s addresses within the current company.

The list contains user’s address from profile, if it is present.

The user’s profile address has label attribute with value ‘home’.

Each address contains coordinates: latitude, longitutde.

Supported Formats

json

Examples

[
  {
    "address": "Hugh L. Carey Tunnel New York",
    "latitude": "40.692304",
    "longitude": "-74.011957",
    "label": "home"
  },
  {
    "address": "360 Mall, 800001 Faris Abdulrahman Al Waqayan St, Zahra, Kuwait",
    "latitude": "29.268123",
    "longitude": "47.992669"
  }
]