GET api/reportserver/v2/dataalerts/{dataAlertId}
Returns a data alert by ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dataAlertId |
Data alert ID. | string |
Required |
Body Parameters
None.
Response Information
Resource Description
| 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": 1970,
"DataItemName": "Marketing Reports",
"Clauses": [
{
"Column": "OrderDate",
"Operator": "is",
"Value": "100"
},
{
"Column": "CustomerName",
"Operator": "is",
"Value": "100"
}
]
},
{
"Index": 1976,
"DataItemName": "Financial Reports",
"Clauses": [
{
"Column": "CustomerName",
"Operator": "is",
"Value": "100"
},
{
"Column": "OrderDate",
"Operator": "is",
"Value": "100"
}
]
}
],
"Id": "4ed272bad8e",
"UserId": "64f8c17362d146d1947d832c5b3787fe",
"Name": "Sales Reports",
"Enabled": true,
"Reports": [
{
"ReportId": "bd9d4993902",
"DocumentFormat": "Pdf",
"Parameters": {
"Region": "North America",
"CustomerId": 12345
}
},
{
"ReportId": "7c715a36686",
"DocumentFormat": "Pdf",
"Parameters": {
"Region": "North America",
"CustomerId": 12345
}
}
],
"StartDate": "2026-10-08T14:36:36.2056406+00:00",
"StartDateUtc": "2026-10-08T14:36:36.2056406Z",
"BaseUtcOffset": 1996.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": [
"alex.johnson@example.com",
"jane.doe@example.com"
],
"SubscriberIds": [
"ffc9d543442d4137884d2b9db83b3f90",
"6e339999bf9b42dd8c28f43025f0c27d"
]
}