I tried checking into this but couldn’t find any information on the analytics event port at all. Could you please let me know which is the node in the XML that denotes this?
That’s right. There’s no sample showing how to use Protocol to parse this event port data. There are samples to show the event port parsing using the Component Integration.
So, we had changed the port to 9091 in our setup (due to conflict) and when we tried to parse the GetConfigurations API response, we didn’t find this 9091 anywhere in the response.
In the Protocol Integration based samples, particularly the TriggerAnalyticsEventXML, the port is being entered by the user (user input fields given). So, we were wondering if there’s no support to get the analytics event port via Protocol or it’s there but the information isn’t available on how to parse it?
We didn’t want the user to enter this additional information. This was the main reason behind this query.
When we can find the information using the Config API Client sample we can find the same information if developing an application using the Configuration API.
It does not look right, what was the request you made to ConfigurationApiService.svc?
I think you must make several requests letting the service lead you to “MIPKinds”, “Analytics Options” etc.
-
I think I understand now! You think the answer should be in ServerCommandService GetConfiguration. No, sorry. The Configuration API is another service..
Sorry, I didn’t get any information on the SOAP requests in this documentation. There’s only information on the /ManagementServer/ConfigurationApiService.svc API and the response of which I had posted above.
Which is the equivalent API for Protocol integration to get this information on Event Port?
/ManagementServer/ConfigurationApiService.svc is a SOAP service but unfortunately there is no sample using it direct, Config API Client uses a proxy generated from the SOAP service but this is as close as we get.
PS.
The response you posted is not Configuration API but Server Command as you can see in the response “<GetConfigurationResponse xmlns=“http://videoos.net/2/XProtectCSServerCommand””