post https://example.com/dispatcher/v1/hooks/notifications/subscribe
Subscribe to get notifications for actions
If a subscription (to same action entity and endpoint) is already exist, the call will result in a CONFLICT response
Request Body Parameters:
Parameter | Type | Mandatory | Description | Example |
---|---|---|---|---|
entityTypeName | string | true | Values:device,organization,organization-user,caregiver,patient,usage-session,generic-entity,command,device-alert,patient-alert,registration-code | |
actionName | string | true | Values:_create,_update,_delete,_list,_command,_generateCertificate,_activateCertificate,_revokeCertificate,_operate,_read,_start,_stop,_remoteStart,_remoteStop,_remoteResume,_remotePause,_updateAdmin,_updateEnabledState,_login,_logout,_clear,_manage,_assign,_saveMeasurement,_monitor,_view,_saveMeasurementBulk,_incomingSms | |
endpoint | string | true |
This API requires DISPATCHER_SUBSCRIPTIONS_SUBSCRIBE permission(s).