SOAP API does not provide a method to get version information similar to REST API. Also, in vCO 5.5+ the REST endpoint URL has changed from https://vco_host:8281/api/versions to https://vco_host:8281/vco/api/versions
So, in order to determine vCO version the logic should be:
- if https://vco_host:8281/api/versions is available => vCO 5.1
- if https://vco_host:8281/vco/api/versions is available => vCO 5.5 or newer (exact version can be determined by looking at the response body)
- if neither https://vco_host:8281/api/versions nor https://vco_host:8281/vco/api/versions are available => vCO 4.x