RecurringTaskScheduleDto
A schedule a recurring task runs on. Every task has one default schedule (its own dates) plus
any number of custom schedules with clients linked to them; a schedule with no clients is
legal (parked for later use).
Properties
| Name | Type | Description |
|---|---|---|
| code | string | Stable identifier of the schedule. |
Stable identifier of the schedule. | ||
| name | string | Optional user label; the UI otherwise renders the schedule phrase from the fields. |
Optional user label; the UI otherwise renders the schedule phrase from the fields. | ||
| isDefault | boolean | Whether this is the task's default schedule: the one clients without a link run on. |
Whether this is the task's default schedule: the one clients without a link run on. | ||
| recurringTask | CodeAndNameDto | |
| schedule | ScheduleConfigDto | |
| clients | array of CodeAndNameDto | Clients linked to this schedule, ordered by name. The list endpoint returns the first few |
Clients linked to this schedule, ordered by name. The list endpoint returns the first few | ||
| totalClients | integer | Total number of clients linked to this schedule. |
Total number of clients linked to this schedule. | ||
JSON Example
{
"code": "string",
"name": "string",
"isDefault": false,
"recurringTask": {
"code": "string",
"name": "string"
},
"schedule": {
"basis": "...",
"recurrence": "...",
"start": "...",
"due": "...",
"statutory": "..."
}
}
Used By Operations
-
GET
Get Recurring Task Schedule for Client
/tenants/{tenant}/clients/{clientCode}/recurring-tasks/{taskCode}/schedule
-
POST
Create Recurring Task Schedule
/tenants/{tenant}/recurring-tasks/{taskCode}/schedules
-
GET
Get Recurring Task Schedule
/tenants/{tenant}/recurring-tasks/{taskCode}/schedules/{code}
-
PUT
Update Recurring Task Schedule
/tenants/{tenant}/recurring-tasks/{taskCode}/schedules/{code}