API integration
1
Get lists of organisations
{
"totalCount": 1,
"organizations": [
{
"id": 2881,
"name": "Organisation 1",
"createdAt": "2022-05-25 11:09:27",
"updatedAt": "2022-05-25 11:09:27",
"token": "hf04gb0e-bsd3-440c-9fb9-ad0daad420e0",
"smsSent": 0,
"smsLeft": 0,
"licensesLeft": 0,
"measurementPointsCount": 1
},
]
}2
3
Get list of the measurement points with their most recent measurements
{
"measurementPoints": [
{
"id": 989330,
"locationId": 5655,
"createdAt": "2022-05-25 12:17:22",
"name": "40EBEC",
"unconfirmedAlertsCount": 358,
"activeAlertsCount": 0,
"status": "OPERATIONAL",
"measurements": {
"measuredAt": "2022-06-15 12:15:00",
"period": 5,
"channels": [
{
"number": 1,
"name": "40EBEC",
"type": "ALARM",
"value": 0,
"status": "OK"
}
]
},
"device": {
"id": 1128025,
"serialNumber": "282C0240EBEC",
"powerStatus": "BATTERY_OK",
"signal": 37,
"nextCommunicationAt": "2022-06-15 13:21:03"
}
}
],
"totalCount": 1
}Last updated