Wiki

Clone wiki

Numera.LibrisAPI / dashboard.open

Home > API Reference Documentation > dashboard.open

dashboard.open

The dashboard.open action is used to listen to incoming calls (a fall was detected, or a user initiated call). If you are not using the Javascript SDK, you will have to initiate your own HTTP long-polling mechanism against the API using the subscription you receive from this call with the channel.poll action.

Input Parameters

PropertyRequiredDescription
realmyesThe realm that the devices belong to

Output

A token and subscription id is returned. Both values are used to start an internal long polling request with channel.poll. For the dashboard, the token and id you receive back are the same value.

PropertyDescription
tokentoken id
subscription idthe channel id you will need later

Once you receive this information, you will then need to make your call to dashboard.refresh to get the current list of calls to use as a starting point for your dashboard, and then you will implement your channel.poll logic.

Possible Status Codes

Status CodeReasonDescription
1000NO_REALM_ACCESSUser has no access to this realm. Note that user needs a minimum Role of Agent_Supervisor
1001NO_DASHBOARD_ACCESSThe user has no access to the dashboard service
1002SUBSCRIPTION_FAILEDUnable to create a subscription

Updated