Example – Network

  • GET /api/v2/devices/(serial or uuid)/network
    • Returns network usage statistics
      • parameters: “type”: (cell|ethernet|wifi) Default: cell
        • 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": "12345678",
          "type": "devices",
          "description": "99889908",
          "product_id": "MTCAP-LEU1-868-001L",
          "vendor_id": "Multi-Tech Systems",
          "device_id": "99889908",
          "attributes": {
            "network_usages": [
              {
                "2017-01-15": {
                  "cell": {
                    "rx_bytes": 0,
                    "tx_bytes": 0
                  }
                }
              },
              {
                "2017-01-16": {
                  "cell": {
                    "rx_bytes": 20997455,
                    "tx_bytes": 35255516
                  },
                  "ethernet": {
                    "rx_bytes": 4236739667,
                    "tx_bytes": 4281006485
                  }
                }
              }
            ]
          }
        }