GET /events/monitors?format=defaultSubjectFormat
Use this method to return the default format of the email subject for a specific event forwarder.
For the default output (forwarded event) format for a specific event forwarder, see GET /events/monitors?format=defaultFormat.
Authentication
Authentication with username and password is required.
Request URL
GET https://{management_server_IP}/events/monitors?format=defaultSubjectFormat
Query parameters
None
Request body
None
Response codes
| Code | Description | Comments |
|---|---|---|
| 200 | OK | The request completed successfully. |
| 400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
| 401 | Unauthorized | The user cannot be authenticated. Authentication has not been provided or has failed. A descriptive error message is returned in the response body. |
| 500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
| Attributes | Type | Description | ||
|---|---|---|---|---|
| defaultFormats | Object | Information about the default formats Text between double square brackets are the attributes that which are replaced with actual values. For a description of each attribute, use GET /events/monitors?format=formatKeys. | ||
| email_alert | String | Default format of the email subject | ||
The following example is returned if the request is successful.
{
"defaultFormats": {
"email_alert": "[[DeviceName]]-[[EventMessage]]"
}
}
Give documentation feedback