GET api/app-alert/lifetrons
get currently active alert for the Lifetrons app
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
AppAlertResp| Name | Description | Type | Additional information |
|---|---|---|---|
| alert |
the active alert for the requested app id, or null |
AppAlert |
None. |
| resp_code |
Lifetrons response code |
string |
None. |
| resp_msg |
Lifetrons response message |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"alert": {
"alert_id": 1,
"app_id": 2,
"title": "sample string 3",
"message": "sample string 4",
"severity": 64,
"action_url": "sample string 6",
"start_utc": "2026-06-23T20:15:42.3409676+00:00",
"end_utc": "2026-06-23T20:15:42.3409676+00:00",
"is_active": true,
"updated_on": "2026-06-23T20:15:42.3409676+00:00"
},
"resp_code": "sample string 1",
"resp_msg": "sample string 2"
}
application/xml, text/xml
Sample:
<app_alert_resp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Models.v5">
<resp_code xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Models">sample string 1</resp_code>
<resp_msg xmlns="http://schemas.datacontract.org/2004/07/LifetronsPhoneApi.Models">sample string 2</resp_msg>
<alert xmlns:d2p1="http://schemas.datacontract.org/2004/07/CommonClasses.Org">
<d2p1:action_url>sample string 6</d2p1:action_url>
<d2p1:alert_id>1</d2p1:alert_id>
<d2p1:app_id>2</d2p1:app_id>
<d2p1:end_utc>2026-06-23T20:15:42.3409676+00:00</d2p1:end_utc>
<d2p1:is_active>true</d2p1:is_active>
<d2p1:message>sample string 4</d2p1:message>
<d2p1:severity>64</d2p1:severity>
<d2p1:start_utc>2026-06-23T20:15:42.3409676+00:00</d2p1:start_utc>
<d2p1:title>sample string 3</d2p1:title>
<d2p1:updated_on>2026-06-23T20:15:42.3409676+00:00</d2p1:updated_on>
</alert>
</app_alert_resp>