GET alerts/show
This method returns information related with an alert. A single alert is returned by each call
Resource URL
Parameters
Name | Type | Description | |||||||||
token | String | The token retrieved from the login method | |||||||||
alert_identifier (mandatory) | Alert Identifier | The identifier of the alert that should be returned as a result. The allowed alert Identifier fields are the following:
| |||||||||
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved alert |
number | String | The number of the retrieved alert |
life_cycle_state | String | The life cycle state of the retrieved alert which can be SUCCESSFUL or REJECTED |
type | String | The type of the retrieved alert which can be EMAIL or SMS |
entity | String | The name of the entity that was communicated through the alert. The supported entities are the following:
|
entity_id | String | The ID of the entity that was communicated through the alert |
subject | String | The subject of the retrieved alert. This is applicable only if the type is EMAIL |
content | String | The content of the retrieved alert |
recipient_email_address | String | The email address of the recipient. This is applicable only if the type is EMAIL |
recipient_phone_number | Number | The phone number of the recipient. This is applicable only if the type is SMS |
error_code | String | The code of the error that occurred while sending the alert. This is applicable only for rejected alerts |
error_description | String | The description of the error that occurred while sending the alert. This is applicable only for rejected alerts |
recipient | User Object | The recipient user of the retrieved alert |
alert_definition | Alert Definition Object | The alert definition that was used to send the alert |
workflow_rule | Workflow Rule Object | The workflow rule that triggered the alert |
log_information | Log Information Object | The log information of the retrieved alert |
Referred Objects Response Data