API Guide

Table Of Contents
Table 44. Attributes (continued)
Attribute name Description
UseCredentials Indicates if credentials are used.
UseSSL Indicates if SSL is used.
POST method for SMTPConfiguration
This method configures SMTP to send emails.
Description Configures SMTP.
Privilege MONITORING_SETUP
HTTP response
codes
200
Example request
body
{
"DestinationAddress":"10.35.12.7",
"PortNumber":25,
"UseCredentials":false,
"UseSSL" : false,
"Credential": {
"User":"root",
"Password":"calvin"
}
}
Example
response body
{
"DestinationAddress": "10.35.12.7",
"PortNumber": 25,
"UseCredentials": false,
"UseSSL": false,
"Credential": null
}
Table 45. Attributes
Attribute name Description
DestinationAddress Destination address of SMTP.
PortNumber Port number of SMTP.
UseCredentials Indicates if credentials are used.
UseSSL Indicates if SSL is used.
User User name
Password Password
/api/AlertService/AlertDestinations/Actions/
AlertDestinations.SendTestTrap
POST method for AlertDestinations.SendTestTrap
This method sends an SNMP trap to the destination address.
Description
Sends an SNMP trap to the destination address.
76 Application settings