device

GET /v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans

Changed on

Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.

Request

  • Base URL
    https://api.notefile.net
  • URL
    https://api.notefile.net/v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans
  • Auth
    HTTP bearer

Response

Response body for /plans

Example response

{
  "cellular_plans": [
    {
      "activated": 1656010061,
      "data_usage": {
        "kb_remaining": 372.55,
        "kb_total": 500,
        "kb_used": 127.45
      },
      "iccid": "345678432765434567890765746354465786",
      "imsi": "310170830688975",
      "last_updated": 1656010061,
      "plan_type": "500MB, North America, 10-year lifetime"
    }
  ]
}

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status