Wiki
Clone wikiNumera.LibrisAPI / device.read_mailbox
Home > API Reference Documentation > device.read_mailbox
device.read_mailbox
The device.read_mailbox
action will let you see the messages that are currently in the device's mailbox.
Input Parameters
Property | Required | Description |
---|---|---|
id | yes, or imei | The id of the device |
imei | yes, or id | The imei of the device |
Output
The result
object will contain an array called messages
where each object has these properties:
Property | Description |
---|---|
topic | message type |
body | body of the message |
status | status |
created | when it was created |
alerted | when device was notified |
read | when it was read |
Possible Status Codes
Status Code | Reason | Description |
---|---|---|
1000 | NO_ID_OR_IMEI | You have to send in the device id or imei |
1001 | DEVICE_DOES_NOT_EXIST | Could not locate the device or the user does not have access to it |
Updated