Skip to main content
POST
/
v1
/
notifications
/
equipment-alert
Send equipment alert
curl --request POST \
  --url http://localhost:3000/v1/notifications/equipment-alert \
  --header 'Content-Type: application/json' \
  --data '
{
  "equipmentName": "<string>",
  "alertType": "<string>",
  "currentValue": 123,
  "threshold": 123
}
'
{
  "success": true,
  "notificationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "error": "<string>"
}

Body

application/json
equipmentName
string
required
alertType
string
required
currentValue
number
required
threshold
number
required

Response

200 - application/json

Send result

success
boolean
required
notificationId
string<uuid>
error
string