Wiki
Clone wikiNumera.LibrisAPI / device.publish_insights
Home > API Reference Documentation > device.publish_insights
device.publish_insights
The device.publish_insights
action is used to enable or disable the publishing of the device's events to the insights platform which is used by the Everthere application. This is used by Everthere when a device is enrolled in the Everthere application and it requires Agent Supervisor or higher permissions. Note that if you call this action you may disrupt the normal behavior of the device within Everthere.
Input Parameters
Property | Required | Description |
---|---|---|
id | one of | The id of the device |
name | one of | The name of the device |
imei | one of | The imei of the device |
publish | yes | true/false - whether events should be sent to Everthere |
Output
The result object will be empty.
Possible Status Codes
Status Code | Reason | Description |
---|---|---|
1000 | NO_IMEI_OR_ID_OR_NAME | You have to send in the device id, name, or imei |
1001 | DEVICE_DOES_NOT_EXIST | Could not locate the device or the user does not have access to it |
1002 | REALM_DOES_NOT_SUPPORT | The realm the device is in does not support the use of Everthere |
Updated