When defining the URI for REST APIs, you need to specify the root path used to route the API requests to the Web Server using one of the following ways:
If you have direct connectivity to the Web Server, use http://web server host name:port/SearchSvc/CVWebService.svc/.
You must enter the port number used by the Web Server computer.
For example: http://server.company.com:81/WebServerCore
If you want to access the Web Server from an external network, use the Web Console to route your API requests. To connect to the Web Console, use http://web console host name/webconsole/api.
It is not necessary to enter the port number to route your API requests through the Web Console.
For example: http://webclient.company.com/webconsole/api/