Example – Check-in History

  • GET /api/v2/devices/(serial or UUID)/check_ins
    • Returns information about check-ins the device has made.
      • Parameters:
        • start_date – defaults to 10 days ago
        • end_date – defaults to tomorrow (so as to get all data)
        • dates must be YYYY-MM-DD formatted
        {
          "id": "77779514",
          "type": "devices",
          "description": "Agricultural data collector",
          "product_id": "MTCDT-H5-210A",
          "vendor_id": "Multi-Tech Systems",
          "device_id": "77779514",
          "attributes": {
            "check_ins": [
              {
                "timestamp": "2017-01-17T19:02:44.213+00:00",
                "action": "upload_log",
                "result": "200",
                "ssl": true,
                "duration": 0
              },
              {
                "timestamp": "2017-01-17T19:02:44.281+00:00",
                "action": "update",
                "result": "200",
                "ssl": true,
                "duration": 0
              }
            ]
          }
        }