While using Milestone XProtect Expert 2021 R1, I’m trying to retrieve the camera list. I attempted to access the cameras using the following endpoints in Postman:
- http://192.168.4.50/managementserver/rest/cameras
- http://192.168.4.50/api/rest/v1/cameras
However, both return a “404 Not Found” error. Could anyone provide the correct syntax or endpoint for retrieving cameras in XProtect Expert 2021 R1?
Additionally, when running the SOAP endpoint
http://192.168.4.50:22331/Central/AlarmService2
, I receive a “400 Bad Request” error. Any advice on resolving this would be greatly appreciated.
If you have enabled encryption it isn’t http but https. I think this would cause the 404. “/api/rest/v1/cameras” should be correct. Ref. MIP VMS Config API Reference (milestonesys.com)
I wonder if you have successfully gotten the token?
Ref. MIP VMS Config API Reference (milestonesys.com)
AlarmService2 is used by the Alarm List sample. Maybe you could explore the sample and if it works for you see what is done..
https://doc.developer.milestonesys.com/html/index.html?base=samples/protocolsamples/alarmlist/readme.html&tree=tree_3.html
https://github.com/milestonesys
PS. When you have questions that are not related please do two questions, it will greatly improve the searchability and usability of this forum..
Yes, I got the token. But I think the problem is in the syntax as my version is old, it is 2021 R1. I tried HTTP and HTTPS and also didn’t work
The API Gateway and Rest API doesn’t exist in that version!
The requirement XProtect VMS Products 2022 R1 or later.
https://doc.developer.milestonesys.com/mipvmsapi/api/config-rest/v1/#section/Introduction/Get-started
I hope you can upgrade your XProtect, there are many improvements..