Camera Status Integration via API on XProtect Expert Versions Prior to 2023

Camera Status Integration via API on XProtect Expert Versions Prior to 2023

I’m currently working on integrating data retrieved from Milestone XProtect with another platform using APIs. However, I’ve encountered an issue where the camera status (ON/OFF) is not being captured.

After reviewing Milestone’s documentation, I discovered that versions prior to 2023 do not support direct integration through WebSocket, according to the technical documents.

We are using the following versions of XProtect Management Servers:

• Expert 2022 R3

• Expert 2021 R1

• Expert 2020

Can anyone provide guidance on how to retrieve the camera status for these versions? Any advice or workarounds would be greatly appreciated.

Your observation is correct. The Events and State WebSocket API is very new. The requirements is XProtect system running XProtect 2023 R3 or later. Ref. https://doc.developer.milestonesys.com/mipvmsapi/api/events-ws/v1/

The API that has been there a very long time is the Status Service SOAP Protocol..

https://doc.developer.milestonesys.com/mipvmsapi/api-overview/integrations/status/

https://doc.developer.milestonesys.com/html/index.html?base=statushelp/index.html&tree=tree_3.html

There is a sample, StatusDemoConsole:

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/statusdemoconsole/readme.html&tree=tree_2.html

Hi Bo,

is there a simpler way to get the camera statues from Mobile server API?

Hello,

Do you have any specific issues retrieving the status through the Status Service SOAP protocol?

If you could clarify what you mean by a simpler way, or specify the exact issue you encountered, we might be able to assist you further.