POST api/reportserver/v3/scheduled-tasks
Creates a new scheduled task.
Request Information
URI Parameters
None.
Body Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| 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. |
Request body formats
application/json, text/json, application/*+json
{
"Name": "Financial Reports",
"Enabled": true,
"Reports": [
{
"ReportId": "fa713d999e3",
"DocumentFormat": "Pdf",
"Parameters": {
"CustomerId": 12345,
"IsActive": true
}
},
{
"ReportId": "b11bc5a5417",
"DocumentFormat": "Pdf",
"Parameters": {
"CustomerId": 12345,
"IsActive": true
}
}
],
"StartDate": "2026-08-12T14:16:00.0518349+00:00",
"StartDateUtc": "2026-08-12T14:16:00.0518349Z",
"BaseUtcOffset": 445.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": [
"07c1ac58f7ae43319d55559481fc59fe",
"07137cfc1278464b962c4163a7bb4327"
]
}
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| 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
{
"Id": "bfab3a65f74",
"UserId": "7987c671a5b94a9d9a4a879301bacd66",
"Name": "Financial Reports",
"Enabled": true,
"Reports": [
{
"ReportId": "fa713d999e3",
"DocumentFormat": "Pdf",
"Parameters": {
"CustomerId": 12345,
"IsActive": true
}
},
{
"ReportId": "b11bc5a5417",
"DocumentFormat": "Pdf",
"Parameters": {
"CustomerId": 12345,
"IsActive": true
}
}
],
"StartDate": "2026-08-12T14:16:00.0518349+00:00",
"StartDateUtc": "2026-08-12T14:16:00.0518349Z",
"BaseUtcOffset": 445.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": [
"07c1ac58f7ae43319d55559481fc59fe",
"07137cfc1278464b962c4163a7bb4327"
]
}