Get Trips For Multiple Devices

POST {{base_url}}/api/v2/trip/list

Description

This API endpoint allows you to find trip information for listed devices.

Post Request Body Contents

  • fromDate (number): Specifies the starting time in milliseconds since the Unix epoch. Used to filter trips that happened at this date or after (by default start of the day).

  • toDate (number): Specifies the ending time in milliseconds since the Unix epoch. Used to filter trips that happened at this date or after (by default now).

  • isNormalized (boolean): Specifies whether the retrieved trip data should be normalized, if true will return normalized(smoothened) location.

  • isGrouped (boolean): Indicates whether the retrieved trips should be grouped or not, if true will return data grouped into trip legs otherwise will return list or events.

Request Body

{"fromDate"=>"1635220800000", "toDate"=>"1668129239696", "isNormalized"=>true, "isGrouped"=>false}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring