GET api/reportserver/v2/dataalerts
Returns a collection of all data alerts.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of DataAlert
| Name | Description | Type | Additional information |
|---|---|---|---|
| Rules |
Specifies the data alert rules. | Collection of DataAlertRule |
Required |
| Id |
Provides the scheduled task identifier. | string |
Required |
| UserId |
Specifies the ID of the user who has created the scheduled task. | string |
None. |
| Name |
Gets or sets the scheduled task name. | string |
Required |
| Enabled |
Gets or sets whether the scheduled task is either enabled or disabled. | boolean |
None. |
| Reports |
Gets or sets the reports which are rendered by the scheduled task. | Collection of ScheduledTaskReport |
Required |
| StartDate |
Obsolete since R2 2020. Use StartDateUtc property instead. Gets or sets the start date of the scheduled task in the author local time zone. | date |
None. |
| StartDateUtc |
Gets or sets the start date of the scheduled task in UTC. | date |
None. |
| BaseUtcOffset |
Gets or sets the UTC offset to the local timezone of the scheduled task author. Used for the mail templates date time type tokens. | decimal number |
None. |
| RecurrenceRule |
Gets or sets recurrence rule for the scheduled task. | RecurrenceRule |
None. |
| LocalUsersMailTemplate |
Gets or sets the mail template for local users. Set to null to use the default template. | TaskMailTemplateModel |
None. |
| ExternalUsersMailTemplate |
Gets or sets the mail template for external users. Set to null to use the default template. | TaskMailTemplateModel |
None. |
| ExternalEmails |
Gets or sets the emails of the external users to whom the report document should be sent. | Collection of string |
None. |
| SubscriberIds |
Provides a list of IDs of the users subscribed to the data alert. | Collection of string |
None. |
Response Formats
application/json, text/json
[
{
"Rules": [
{
"Index": 1983,
"DataItemName": "Sales Reports",
"Clauses": [
{
"Column": "TotalSales",
"Operator": "is",
"Value": "100"
},
{
"Column": "Region",
"Operator": "is",
"Value": "100"
}
]
},
{
"Index": 1989,
"DataItemName": "HR Reports",
"Clauses": [
{
"Column": "Region",
"Operator": "is",
"Value": "100"
},
{
"Column": "TotalSales",
"Operator": "is",
"Value": "100"
}
]
}
],
"Id": "b70ce3f673b",
"UserId": "db75ddd144b04ebc8685a25c556f3e2d",
"Name": "Financial Reports",
"Enabled": true,
"Reports": [
{
"ReportId": "f0149be57ff",
"DocumentFormat": "Pdf",
"Parameters": {
"CustomerId": 12345,
"IsActive": true
}
},
{
"ReportId": "ab9e34adb43",
"DocumentFormat": "Pdf",
"Parameters": {
"CustomerId": 12345,
"IsActive": true
}
}
],
"StartDate": "2026-11-11T15:21:26.7849655+00:00",
"StartDateUtc": "2026-11-11T15:21:26.7849655Z",
"BaseUtcOffset": 2009.1,
"RecurrenceRule": null,
"LocalUsersMailTemplate": {
"Subject": "Your scheduled report is ready",
"Body": "The report you subscribed to has been generated and is attached to this email."
},
"ExternalUsersMailTemplate": {
"Subject": "Your scheduled report is ready",
"Body": "The report you subscribed to has been generated and is attached to this email."
},
"ExternalEmails": [
"jane.doe@example.com",
"john.smith@example.com"
],
"SubscriberIds": [
"dcd6098961804bbcbb4bc29363ddfb75",
"b2e869a7d994420a9d0aaf62327dff9d"
]
},
{
"Rules": [
{
"Index": 2016,
"DataItemName": "Financial Reports",
"Clauses": [
{
"Column": "CustomerName",
"Operator": "is",
"Value": "100"
},
{
"Column": "OrderDate",
"Operator": "is",
"Value": "100"
}
]
},
{
"Index": 2022,
"DataItemName": "Marketing Reports",
"Clauses": [
{
"Column": "OrderDate",
"Operator": "is",
"Value": "100"
},
{
"Column": "CustomerName",
"Operator": "is",
"Value": "100"
}
]
}
],
"Id": "5e68ea3da4c",
"UserId": "f9fcce06dcf042128c86332412e4d57b",
"Name": "HR Reports",
"Enabled": true,
"Reports": [
{
"ReportId": "bd100874d70",
"DocumentFormat": "Pdf",
"Parameters": {
"IsActive": true,
"OrderDate": "2024-01-15"
}
},
{
"ReportId": "11c438b0094",
"DocumentFormat": "Pdf",
"Parameters": {
"IsActive": true,
"OrderDate": "2024-01-15"
}
}
],
"StartDate": "2026-11-11T15:21:26.7849655+00:00",
"StartDateUtc": "2026-11-11T15:21:26.7849655Z",
"BaseUtcOffset": 2042.1,
"RecurrenceRule": null,
"LocalUsersMailTemplate": {
"Subject": "Your scheduled report is ready",
"Body": "The report you subscribed to has been generated and is attached to this email."
},
"ExternalUsersMailTemplate": {
"Subject": "Your scheduled report is ready",
"Body": "The report you subscribed to has been generated and is attached to this email."
},
"ExternalEmails": [
"john.smith@example.com",
"maria.garcia@example.com"
],
"SubscriberIds": [
"9fa1c6b527474c1eb743402bfaaa3ef4",
"f8b865d28e3d4ab0880d7198eb0a433d"
]
}
]