User Geo-Zones

Get User Geo-Zones

get/v1/user-geozones/

Request

Query parameters

imeistring

IMEI of the device that will trigger the webhook

Example:123456789101112

Headers

Authorizationstring

User access token

Content-Type'application/json'

Response

Returns user geozones

idstring required

Unique identifier

imeistring required

IMEI of the device that will trigger the webhook

Example response

[
  {
    "id": "65f8a2b4c9d7e1234567890a",
    "imei": "123456789101112",
    "location": {
      "type": "Feature",
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              -96.7980123,
              32.7760432
            ],
            [
              -96.7960123,
              32.7760432
            ],
            [
              -96.7960123,
              32.7750432
            ],
            [
              -96.7980123,
              32.7750432
            ],
            [
              -96.7980123,
              32.7760432
            ]
          ]
        ]
      }
    },
    "schedule": [
      {
        "daysOfWeek": [
          1,
          2,
          3,
          4,
          5
        ],
        "times": [
          {
            "startTime": 28800,
            "endTime": 61200
          }
        ]
      }
    ]
  }
]

Changes

No recorded changes to this operation across all 2 revisions of this API.