Available from CRM.COM R9.0.0 |
This method returns information related with an alert. A single alert is returned by each call
http://host_name/crmapi/rest/$version/alerts/show |
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 |
HTTP Method: GET
Request:
Response:
|
This method returns information related with alerts having specific attributes. Multiple alerts are returned by each call.
http://host_name/crmapi/rest/$version/alerts/list |
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:
|
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. |
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 |
HTTP Method: GET
Request: Response: |
This method is used to re-send rejected alerts. This method is applicable only on rejected alerts. A single alert can be re-send through this method
http://host_name/crmapi/rest/$version/alerts/resend |
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 send again. The allowed alert Identifier fields are the following: Note that only rejected alerts can be specified in this method. |
HTTP Method: POST
Request: Body:
Response: |
This method is used to delete successful or rejected alerts. A single alert can be deleted through this method
http://host_name/crmapi/rest/$version/alerts/delete |
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 deleted. The allowed alert Identifier fields are the following: |
HTTP Method: POST
Request: Body:
Response: |