GET v1/meter/alerts?id={id}&page={page}&culture={culture}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| page | integer |
Default value is 1 |
|
| culture | string |
Default value is pt-PT |
Body Parameters
None.
Response Information
Resource Description
MeterAlertsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalItems | integer |
None. |
|
| MeterAlerts | Collection of MeterAlert |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalItems": 1,
"MeterAlerts": [
{
"Id": 1,
"MeterId": 2,
"AlertLevel": "sample string 3",
"AlertType": 1,
"Date": "2025-05-20T06:33:45.4840338+01:00",
"Location": "sample string 5",
"Description": "sample string 6",
"Acknowleged": true
},
{
"Id": 1,
"MeterId": 2,
"AlertLevel": "sample string 3",
"AlertType": 1,
"Date": "2025-05-20T06:33:45.4840338+01:00",
"Location": "sample string 5",
"Description": "sample string 6",
"Acknowleged": true
}
]
}
application/xml, text/xml
Sample:
<MeterAlertsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/I9P.MeterMonitor.API.Models">
<MeterAlerts>
<MeterAlert>
<Acknowleged>true</Acknowleged>
<AlertLevel>sample string 3</AlertLevel>
<AlertType>CommunicationError</AlertType>
<Date>2025-05-20T06:33:45.4840338+01:00</Date>
<Description>sample string 6</Description>
<Id>1</Id>
<Location>sample string 5</Location>
<MeterId>2</MeterId>
</MeterAlert>
<MeterAlert>
<Acknowleged>true</Acknowleged>
<AlertLevel>sample string 3</AlertLevel>
<AlertType>CommunicationError</AlertType>
<Date>2025-05-20T06:33:45.4840338+01:00</Date>
<Description>sample string 6</Description>
<Id>1</Id>
<Location>sample string 5</Location>
<MeterId>2</MeterId>
</MeterAlert>
</MeterAlerts>
<TotalItems>1</TotalItems>
</MeterAlertsModel>