Works out the next dates a schedule would produce, without saving anything, so an editor can show them as the schedule changes. A schedule that is not complete yet returns no occurrences, and one that uses a client date returns variesByClient, because its dates differ from client to client.
Requires: ViewAll on RecurringTasks.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
Request Body*
{
"name": "string",
"clientCodes": [
"string"
],
"schedule": {
"basis": "...",
"recurrence": "...",
"start": "...",
"due": "...",
"statutory": "..."
}
}
Responses
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json