Skip to main content

GET /events/monitors?format=currentSubjectFormat&id={monitor_id}

Use this mehod to retrieve the current format of the email subject for a specific event forwarder for an email service.

For the output (forwarded event) format for a specific event forwarder, see GET /events/monitors?format=currentFormat&id={monitor_id}.

Authentication

Authentication with username and password is required.

Request URL

GET https://{management_server_IP}/events/monitors?format=currentSubjectFormat&id={monitor_id}

where {monitor_id} is the ID of the event forwarder. To obtain the filter ID, use the GET /events/monitors method.

Query parameters

None

Request body

None

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA 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.
401UnauthorizedThe user cannot be authenticated. Authentication has not been provided or has failed. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

AttributesTypeDescription
{monitor_id}StringFormat of the email subject

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.

The following example is returned if the request is successful.
{
"1507301877371": "[[DeviceName]]-[[EventMessage]]"
}