Contact us LoginLIVE DEMOFREE TRIAL

list(…)

Get proposal objects that could be used for driver journal entry creation. Proposal objects are created by track’s division by driver changes. If there was no driver change on the track, then the track will be returned entirely. Tracks are selected by intersecting their date range with date range from request (from and to parameters).

parameters:

  • tracker_idint. Id of the tracker
  • fromstring. Include tracks which end after this date, e.g. “2014-07-01 00:00:00”
  • tostring. Include tracks which start before this date, e.g. “2014-07-01 00:00:00”

return:

{
    "success": true,
    "list": [ <proposal_object>, ... ]
}

proposal_object type is JSON object:

{
      "tracker_id": 1, // id of the tracker
      "employee_id": 1, // nullable. Driver's id on the current "subtrack"
      "start_date": "2018-08-28 07:03:39", // start 
      "end_date": "2018-08-28 08:05:02", // end
      "start_location": {
        "lat": 11.111111, // latitude
        "lng": 22.222222, // longitude
        "address": "Address string" // address
      },
      "end_location": {
        "lat": 33.333333, // latitude
        "lng": 44.444444, // longitude
        "address": "Address string"  // address
      },
      "length": 2.1, // length of the current "subtrack"
      "start_odometer": 50.2, // nullable. Odometer's value at the start
      "end_odometer": 52.0, // nullable. Odometer's value at the end
      "overlapped": false // boolean flag. True if there is already driver journal entry with date range which is intersecting this proposal object's date range
}

If you have more questions please contact our support team

Contacts

USA: +1 858 225 46 88

Mexico: +52 558 526 11 25

UK: +44 203 807 64 62

Russia: +7 495 128 35 56

We use сookies to improve our website, products and related services, analyze site traffic, and serve targeted advertisements. If you continue to use our services, you consent to our use of сookies. Read more

Log in