Get
This implementation of SNMP notification destination fetches the destination details.
The following table lists the parameters for both SNMP V1V2 and SNMP V3 Notification Destination.
|
URI |
For SNMP V1V2 Notification Destination: https://<ipaddress>:8111/cvp-config/snmp/destination/v1v2c/<id> | ||
|
For SNMP V3 Notification Destination: https://<ipaddress>:8111/cvp-config/snmp/destination/v3/<id> | |||
|
HTTP Method |
GET | ||
|
Input/Output Format |
XML or JSON | ||
|
Throttled |
Yes. For more information on throttling, see Unified CVP REST Request Throttling. | ||
|
Authentication |
Yes.
| ||
|
Request |
The GET operation on the Service endpoint gets the SNMP v1v2c notification destination details GET https://api.cvp.com:8111/cvp-config/snmp/destination/v1v2c/<id> | ||
|
The GET operation on the Service endpoint gets the SNMP v3 notification destination details GET https://api.cvp.com:8111/cvp-config/snmp/destination/v3/<id> | |||
|
Authorization |
Basic signaturevalue | ||
|
Content-type |
Application/XML or Application/JSON | ||
|
Accept |
Application/XML or Application/JSON | ||
|
API Type |
Synchronous | ||
| Response Data Structure |
| ||
|
Response Header |
| ||
|
Response Code |
400- Bad request. If the request body is invalid. 400- API error . If the object either does not exist or is stale. 401- Authorization Failure(for example, the user is not authenticated in the web session) 404- Not Found (for example, the resource is deleted and is not found ) 406- Not Acceptable(for example, the accept headers sent in the request is not acceptable. 500- Internal Server Error( for example, the connection is broken with the database server or ORM or any other component. 503 Service Unavailable. When the request processing threshold is reached. For more information on error codes and their descriptions, see Unified CVP API Error Codes. | ||
| Security Constraints |
Only a Serviceability administrator can perform this operation. |
|
Field Name |
Description |
Data Type |
UTF-8 |
|---|---|---|---|
|
destname |
This represents the notification destination name. |
String |
Yes |
|
ipaddr |
This represents the ipv4 address of the notification destination host. |
String |
No |
|
port |
This represents the port number of the notification destination host. |
Number |
No |
|
communityOrUserRef |
If the URI ends with v1v2c, specify a valid SNMP community string. If the URI ends with v3, specify a valid SNMP v3 user name. |
String |
Yes |
|
servers |
This represents the configured Unified CVP Server. |
Wrapper |
— |
|
server |
This represents the configured Unified CVP Server IP address. |
String |
No |
For more information on code snippets, see Unified CVP API Client Sample Code.