Endpoint
POSThttp[s]://[RaPTrServerHostname]:[SAPGatewayLocalPort]/SAPAlarmEventMessage
Purpose
This optional endpoint displays a persistent alarm message on the RaPTr Scanner UI. Alarms remain visible until explicitly cleared using a matching AlarmKey
and ActiveStatus
set to false
.
Request
HeadersContent-Type: application/json
Request Body Format
The JSON payload must be wrapped in a "d"
property.
Request Parameters
Field | Type | Description |
---|---|---|
LocationID |
unsigned int |
Unique identifier of the RaPTr unit. |
AckRequired |
bool |
If true , user acknowledgment is required before alarm can be cleared. |
AlarmKey |
string |
Unique identifier for the alarm instance. |
Text |
string |
Text message to be shown in the alarm banner. |
Severity |
int |
Alarm severity level (1 = lowest, 4 = highest). |
ActiveStatus |
bool |
Indicates whether the alarm is active (true ) or being cleared (false ). |
Time |
DateTime |
ISO 8601 timestamp of when the alarm was generated. |
Response
HTTP Status: 200 OK
Response Body:
Response Parameters
Field | Type | Description |
---|---|---|
ResponseCode |
unsigned int |
1 for success, 0 for failure. |
ResponseString |
string |
Human-readable message about the result. |
Example
Request:
Body:
Response:
Comments
0 comments
Please sign in to leave a comment.