Cameras List

Good afternoon

How can I get a list of cameras and list of cameras associated with an alarm?

Searching in the WSDL (Protocol Integration), I cannot find an operation to perform the camera list query

Regarding the camera list, TCP Video Viewer sample might be helpful for you –

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

AlarmList sample might not be the exact example what you want (list of cameras associated with an alarm), but you will see alarms and each alarm has associated camera in the sample. You might have an inspiration from it, please see GetAlarmData() in MainWindow.xaml.cs in AlarmList sample –

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

Thank you very much for the reply.

I have been able to obtain the list of cameras from the service http: // {host: port} /ServerAPI/ServerCommandService.asmx/getConfiguration, but I have not been able to obtain the list of cameras associated with an alarm.

When I get an alarm, it comes with the associated camera, but not the list of cameras.

One camera can trigger for one alarm, that is why there is no list for alarms. However there is related cameras. Please see this Management Client setup in Alarms –

If you want to get this “related cameras” then you might want to use this property –

https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_data_1_1_alarm.html&tree=tree_search.html?search=videoos.platform.data.referencelist+videoos.platform.data.al

NOTE: If you are talking about Alarm definitions, then please see ConfigAPI Client.

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

But this sample is not a protocol sample, so these articles might be also helpful for you.

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

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