Create Alert
Request
URI
POST
https://{api_host}//api/alerts
COPY
Request Body
alertsCreateAlertRequest of type(s) application/json
Required
{
"alertDefId": "string",
"deviceId": "string",
"triggers": [
{
"userName": "string",
"valueInt64": "string",
"timeMs": "string",
"metric": "string",
"state": "string",
"valueBoolean": false,
"valueString": "string",
"valueDouble": "number"
}
]
}
string
alertDefId
Optional
alertDefId
string
deviceId
Optional
deviceId
Responses
404
Not Found
Operation doesn't return any data structure
Alert Service Operations
POST
Create Alert
GET
Get Alert
GET
Get Alert Trigger History
GET
List Alerts
PUT
Update Alert