Method: addProfileEx
Add credential profile to the database.
Parameters
Name | Type | Description |
---|---|---|
name | string | Name of the profile |
snmpVersion | int | SNMP version |
read | string | SNMP read only credential |
write | string | SNMP read/write credential |
maxAccess | string | SNMP max access credential |
auth | string | CLI credential |
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/addProfileEx?name=Example&snmpVersion=2&read=SNMPv2-Readonly&write=SNMPv2-Write&maxAccess=SNMPv2-Write&auth=Extreme-Switch