Get Device Tracks

This endpoint allows you to retrieve a list of tracks for a device.

SecurityApiKeyAuth
Request
path Parameters
uid
required
string

Device ID

query Parameters
take
number [ 1 .. 100 ]

Take

skip
number >= 0

Skip

search
string

Search by a keyword

Responses
200

List of device tracks.

401

API key is incorrect or not provided.

403

User or API key does not have permission to access the resource.

404

Resource not found.

get/devices/{uid}/tracks
Request samples
Response samples
application/json
[
  • {
    • "id": 0,
    • "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
    • "device": {
      • "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
      • "name": "string",
      • "type": "car"
      },
    • "finished": true,
    • "finishedAt": "2019-08-24T14:15:22Z",
    • "createdAt": "2019-08-24T14:15:22Z",
    • "distance": 0,
    • "duration": 0,
    • "locationsHandled": 0,
    • "avgSpeed": 0,
    • "startLocationName": "string",
    • "endLocationName": "string",
    • "locations": [
      • {
        • "latitude": -90,
        • "longitude": -180,
        • "timestamp": "2019-08-24T14:15:22Z",
        • "speed": 0,
        • "altitude": 0,
        • "accuracy": 0,
        • "heading": 0
        }
      ],
    • "route": [
      • {
        • "latitude": -90,
        • "longitude": -180
        }
      ]
    }
]
Copyright © PickPoint.io LLC 2024. All rights reserved.