GET api/discovery/{customername}/preference/{connectionpreference}
Discover NoahServers by their Name
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customername | string |
Required |
|
connectionpreference | ConnectionPreferenceType |
Required |
Body Parameters
None.
Response Information
Resource Description
Discovery response which the remotehost id of the NoahServer
DiscoveryResponseName | Description | Type | Additional information |
---|---|---|---|
RemoteHostId |
Gets or sets the remote host identifier for the request |
globally unique identifier |
None. |
LocalHostIpAddress |
Gets or sets the local IP address for the remote host. |
string |
None. |
Error |
Gets or sets an error message for the discovery |
string |
None. |
Address |
Address info |
string |
None. |
Address1 |
Address1 info |
string |
None. |
NoahVersion |
gets or set the Noah version which is running upon the remote host at last startup |
string |
None. |
WebAPIVersions |
gets or sets the WebAPIVersion supported by the Remotehost |
Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "RemoteHostId": "10130fc8-6008-415f-9e9e-70ef25847180", "LocalHostIpAddress": "sample string 2", "Error": "sample string 3", "Address": "sample string 4", "Address1": "sample string 5", "NoahVersion": "sample string 6", "WebAPIVersions": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<DiscoveryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Himsa.Noah.Public.Model"> <Address>sample string 4</Address> <Address1>sample string 5</Address1> <Error>sample string 3</Error> <LocalHostIpAddress>sample string 2</LocalHostIpAddress> <NoahVersion>sample string 6</NoahVersion> <RemoteHostId>10130fc8-6008-415f-9e9e-70ef25847180</RemoteHostId> <WebAPIVersions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </WebAPIVersions> </DiscoveryResponse>