You can ask the server for the “configuration” via a SOAP / Http request and in that way see the list of cameras.
The natural way to do this is using the Server Command Service.
Unfortunately, there are no MIP libraries to perform this type of query on an ESB bus.
You are welcome to take a step back and describe what you want to implement, maybe we can advise on how to best achieve what you need to do.