Available from CRM.COM R9.0.0
This method returns information related with alerts having specific attributes. Multiple alerts are returned by each call.
Resource URL
Parameters
Name | Type | Description | ||||||||||||
token | String | The token retrieved from the login method | ||||||||||||
recipient_identifier (semi-optional) | Recipient Identifier | The identifier of the recipient related with the alerts that should be returned as a result. The allowed recipient identifier fields are the following:
| ||||||||||||
alert_definition_identifier (semi-optional) | Alert Definition Identifier | The identifier of the alert definition related with the alerts that should be returned as a result. The allowed alert definition identifier fields are the following:
| ||||||||||||
workflow_rule_identifier (semi-optional) | Workflow Rule Identifier | The identifier of the workflow rule that triggered the alerts that should be returned as a result. The allowed workflow rule identifier fields are the following:
| ||||||||||||
entity (semi-optional) | String | The name of the entity related with the alerts that should be returned as a result. The supported entities are the following:
REWARDOFFERS entity is available from CRM.COM R11.0.0 | ||||||||||||
entity_id (semi-optional) | String | The ID of the entity related with the alerts that should be returned as a result | ||||||||||||
recipient_email_address (optional) | String | The email address of the recipient related with the alerts that should be returned as a result | ||||||||||||
recipient_phone_number (optional) | String | The phone number of the recipient related with the alerts that should be returned as a result | ||||||||||||
life_cycle_state (optional) | String | The life cycle state of the alerts that should be returned as a result. The supported options are SUCCESSFUL or REJECTED | ||||||||||||
created_date (optional) | Date | The created date of the alerts that should be returned as a result. | ||||||||||||
number_of_results (optional) | Number | The number of results that can be retrieved through each call Available from CRM.COM R13.0.0 | ||||||||||||
offset (optional) | Number | Defines the number of entities that should be skipped from the results. If it is set to 0 then none results should be skipped, otherwise the results will begin from the provided offset number Available from CRM.COM R13.0.0 | ||||||||||||
fields_set | 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 at least 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