GET
/machines/{id}/distanceTraveled
Distance Traveled
Become a beta tester for MachineMonitoring resources.
GET /machines /{id} /distanceTraveled
Distance Traveled
This service allows the client to view the number of miles a specified machine has traveled. Distance traveled is measured only by low-cost telematic devices. For each data point, the response includes a link to view the details of the machine.
 
Request URI
GET: https://apicert.soa-proxy.deere.com/platform/machines/{id}/distanceTraveled
Accept: application/vnd.deere.axiom.v3+xml or application/vnd.deere.axiom.v3+json
 
Request Parameters
Parameter Type Example Description Default Required?
startDate dateTime 2015-02-03T9:00:00.000Z Start date & time. N/A No.
endDate dateTime 2015-02-03T10:42:24.282Z End date & time. N/A No.
lastKnown boolean true Returns the last known timestamps and distance. false No.
 
Response Details
Field Type Example Description
endDate dateTime 2015-02-03T10:42:24.282Z End of recording time.
totalDistance numeric 13231.828431782551 Total distance traveled. Unit of measurement is in miles.
 
Sample Response [JSON]
GET https://apicert.soa-proxy.deere.com/platform/machines/5432/distanceTraveled
200 OK
Content-Type: application/vnd.deere.axiom.v3+json;charset=UTF-8

{
   "links": [
      {
         "rel": "self",
         "uri": "https://apicert.soa-proxy.deere.com/platform/machines/4321/distanceTraveled?lastKnown=false"
      }
   ],
   "total": 2,
   "values": [
      {
         "endDate": "2015-02-27T19:36:55.000Z",
         "totalDistance": 272.08353,
         "links": [
            {
               "rel": "machine",
               "uri": "https://apicert.soa-proxy.deere.com/platform/machines/4321"
            }
         ]
      },
      {
         "endDate": "2015-02-27T18:37:23.000Z",
         "totalDistance": 271.54852,
         "links": [
            {
               "rel": "machine",
               "uri": "https://apicert.soa-proxy.deere.com/platform/machines/4321"
            }
         ]
      }
   ]
}