Method: addDeviceEx

Add a device to the database.

Parameters

Name Type Description
ipAddress string IP address of the device
profileName string Profile name associated to the device
snmpContext string SNMP context associated to the device
nickName string Device nickname

Returns

Returns a NsWsResult with a structure defined by the following table.

Name Type Description
errorCode int See the Web Service Error Codes
errorMessage string Error message in readable text
success boolean True if operation is successful

Example

Execute the following web service with a browser:

https://192.168.30.34:8443/axis/services/NetSightDeviceWebService/addDeviceEx?ipAddress=192.168.10.25&profileName=public_v1_Profile&snmpContext=&nickName=Fake-Switch