Method: updateCredentialEx

Update SNMP credential. This operation is similar to updateCredential, but returns a verbose message.

Parameters

Name Type Description
name string Name of the credential
communityName string SNMP version
userName string SNMP community name
authPassword string SNMPv3 username
authType string SNMPv3 authentication password
privPassword string SNMPv3 authentication type, available options are:
-MD5
-SHA
privType string SNMPv3 privacy password
    SNMPv3 privacy type, available options are:
-AED
-DES

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/updateCredentialEx?name=SNMPv2-Readonly&snmpVersion=2&communityName=Read_Only&userName=&authPassword=&authType=&privPasswod=&privType=