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
DiscoveryResponse| Name | 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": "415ae7c5-5d8f-4e60-ac67-903e55e2c672",
"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>415ae7c5-5d8f-4e60-ac67-903e55e2c672</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>