Download OpenAPI specification:Download
The message service is used to manage messages.
Creates or updates an existing escalation configuration for the passed user
new escalation configuration
required | Array of objects (Escalation) configured escalations |
organizationID | integer <int64> organization id for editing escalation as an organization administrator |
userID | integer <int64> assigned user for this escalation configuration for organization administrator editing |
{- "escalations": [
- {
- "delay": 0,
- "wayofalarm": "string"
}
], - "organizationID": 0,
- "userID": 0
}
{- "message": "escalation saved"
}
Returns the escalation configuration for the passed user
userID required | integer user id for the requested escalation |
organization_id | integer has to be set if you want to edit a user as admin of an organization |
{- "escalations": [
- {
- "delay": 0,
- "wayofalarm": "string"
}
], - "organizationID": 0,
- "userID": 0
}
Sets the escalation configuration for the given organization
new escalation configuration
required | Array of objects (Escalation) configured escalations |
organizationID | integer <int64> organization id for editing escalation as an organization administrator |
userID | integer <int64> assigned user for this escalation configuration for organization administrator editing |
{- "escalations": [
- {
- "delay": 0,
- "wayofalarm": "string"
}
], - "organizationID": 0,
- "userID": 0
}
Returns the escalation configuration for the given organization
organizationID required | integer organizationID for the requested escalation |
{- "escalations": [
- {
- "delay": 0,
- "wayofalarm": "string"
}
], - "organizationID": 0,
- "userID": 0
}
Removes the escalation configuration for the given organization
organizationID required | integer organizationID for the requested escalation |
{- "escalations": [
- {
- "delay": 0,
- "wayofalarm": "string"
}
], - "organizationID": 0,
- "userID": 0
}
Returns the current alarm message status for the user in the given alarm
alarm_id required | integer alarmID this request is about |
organization_id required | integer associated organization requesting the information (used for rbac-check) |
user_id required | integer requested user status |
{- "devices": [
- {
- "date": null,
- "name": "string",
- "noDate": null,
- "status": 0,
- "type": "string",
- "yesDate": null
}
]
}
You can use a JWT Token or Personal Access Token to update a specific user's feedback in an alarm or organization. You can also use an organization api token to update any user's feedback in an alarm or your organization.
the users feedback
alarmID | integer <int64> AlarmID associated to the feedback |
organizationID | integer <int64> OrganizationID associated to the feedback |
response required | boolean Response should be |
userID required | integer <int64> UserID of the user that is sending this feedback |
{- "alarmID": 0,
- "organizationID": 0,
- "response": true,
- "userID": 0
}
{- "success": true
}
organizationID required | integer |
organization timeout configuration
timeout required | integer <int64> [ 10 .. 86400 ] Time in seconds after which a notified user times out and can no longer answer an alarm. |
{- "timeout": 10
}
{- "timeout": 10
}