Tip |
---|
Available from CRM.COM R9.0.0 |
Table of Contents | ||
---|---|---|
|
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
...
(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
...
Examples
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
HTTP Method: GET
Request: Response:
|
GET alerts/list
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
...
alert_definition_identifier
(semi-optional)
...
workflow_rule_identifier
(semi-optional)
...
entity
(semi-optional)
...
The name of the entity related with the alerts that should be returned as a result. The supported entities are the following:
- ACTIVITIES
- SERVICEREQUESTS
- JOBS
- SUBSCRIPTIONS
- REWARDOFFERS
Tip |
---|
REWARDOFFERS entity is available from CRM.COM R11.0.0 |
...
entity_id
(semi-optional)
...
recipient_email_address
(optional)
...
recipient_phone_number
(optional)
...
life_cycle_state
(optional)
...
created_date
(optional)
...
number_of_results
(optional)
...
The number of results that can be retrieved through each call
Tip |
---|
Available from CRM.COM R13.0.0 |
...
offset
(optional)
...
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
Tip |
---|
Available from CRM.COM R13.0.0 |
...
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 at least one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
...
Examples
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
HTTP Method: GET
Request: Response:
|
POST alerts/resend
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
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
(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.
...
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
...
Examples
Expand | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
HTTP Method: POST
Request: Body:
Response:
|
POST alerts/delete
This method is used to delete successful or rejected alerts. A single alert can be deleted through this method
Resource URL
Parameters
...
Name
...
Type
...
Description
...
token
...
String
...
The token retrieved from the login method
...
(mandatory)
...
Alert Identifier
The identifier of the alert that should be deleted. The allowed alert Identifier fields are the following:
...
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
...
Examples
Expand | ||||||
---|---|---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
"token":"7A5D6BFA7366434EB60EC189D6474836",
"alert_identifier":{"number":"7"}
} |
Response:
theme | Confluence |
---|---|
language | javascript |
linenumbers | true |
name | blue |
---|
Child pages (Children Display) | ||||
---|---|---|---|---|
|