Notifications

All notifications with pagination numbers

GET /api/device/notifications/(int: offset)/(int: limit)

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json; charset=UTF-8

[
     {
        "response_code": 1000,
        "data": {
          "notifications": [
            {
              "id": "191",
              "title": "Notif 1",
              "date": "2016-01-08 19:39:48"
            },
            {
              "id": "190",
              "title": "Test",
              "date": "2016-01-08 18:38:46"
            },
            {
              "id": "189",
              "title": "Test",
              "date": "2016-03-31 09:53:35"
            }
          ]
        },
        "system": {
          "created_at": "2017-01-16 10:56:49",
          "signature": "d18cd4e147cd0347b7a62ce6a25344d6b22cd7be",
          "message": "Success"
        }
      }
]

Get notification details by Id

GET /api/notification/details/(int: id)

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json; charset=UTF-8

[
     {
        "response_code": 1000,
        "data": {
          "notifications": [
            {
              "id": "190",
              "title": "Test",
              "message": "Hi! This is a test notification!",
              "sent_at": "2016-01-08 18:38:46"
            }
          ]
        },
        "system": {
          "created_at": "2017-01-10 10:18:13",
          "signature": "57de6b22297f53e4edc411d6591ebe8a433ba61e",
          "message": "Success"
        }
      }
]