post https://api.iotgps.io/v1/insights/activities/
Gets a list of device activities for a given date range
A limit
parameter may be passed to limit the number of activities returned in one request.
If a request returns nextToken
, this value should be passed in the query params of the following request, in order to retrieve the next page of results.
Activities can also be filtered:
- By activity type with the
type
query parameter - By traveled distance, the default units are miles
- By travel duration, the default units are minutes
- By completion status, either completed or in progress
If the distanceUnits
or durationUnits
parameter is provided, the results will be transformed before they are returned.