This endpoint allows the user to see which devices have not communicated with the server, lacking either internet or a power source.
POST
/f642d910-17db-4198-a62-302f9348f8cd/Service.asmx/GetLifeSignalInactive
curl \
-X POST https://opticounter.pl/f642d910-17db-4198-a62-302f9348f8cd/Service.asmx/GetLifeSignalInactive \
-H "Authorization: $API_KEY" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'CompanyName=Optiguard&InactiveForHours=5'
Request examples
Example retrieving data
{
"CompanyName": "Optiguard",
"InactiveForHours": 5
}
{
"stringProperty": "checkmark"
}
Request examples
{
"CompanyName": "Optiguard",
"InactiveForHours": 42.0
}
Response examples (200)
{
"Id": 14,
"SerialNumber": "b23hfd23",
"Name": "Licznik Wejście",
"LastActivity": "2023-05-04T09:42:00+00:00",
"SID": "S094",
"ShopName": "Biedronka",
"Address": "ul. Przykładowa 15",
"City": "Warszawa",
"CompanyId": 14
}
Response examples (200)
{
"Id": 14,
"SerialNumber": "b23hfd23",
"Name": "Licznik Wejście",
"LastActivity": "2025-05-04T09:42:00Z",
"SID": "S094",
"ShopName": "Biedronka",
"Address": "ul. Przykładowa 15",
"City": "Warszawa",
"CompanyId": 14
}
Response examples (400)
{
"status": 42
}
Response examples (400)
{
"status": 42
}