post https://example.com/device/v1/devices//alerts
Create a new Device Alert by Template id
Request Body Parameters:
Parameter | Type | Mandatory | Description | Example |
---|---|---|---|---|
<customAttribute1> | <customAttribute1Type> | false | Regular custom attribute 1 value | |
<customAttributeN> | <customAttributeNType> | false | Regular custom attribute N value | |
_clearNotes | string | false | Clear notes | |
_name | string | false | The name of the alert | |
_severity | string | false | The alert wanted severity Values:CRITICAL,MAJOR,MINOR,INFO Default:INFO | MAJOR |
_state | string | false | The alert wanted state Values:ACTIVE,CLEARED,SUSPENDED Default:ACTIVE | ACTIVE |
_templateId | string | true | The id of a template that is configured in the settings service. | 3fa85f64-5717-4562-b3fc-2c963f66afa6 |
Path Parameters:
Parameter | Type | Mandatory | Description | Example |
---|---|---|---|---|
deviceId | string | true | null |
This API requires PROTECTED_API permission(s).