Replaces the practice's quiet hours for automatic texts: whether they are on, and when they start and end (UK time; the end is earlier than the start for a window that crosses midnight). A text a workflow step would send automatically inside them waits until they end; a step sent by hand goes at once. Returns the quiet hours as saved. 400 when a time is missing or not a time, or the start equals the end (on end); 409 messaging_not_set_up when the practice has not switched messaging on.
Requires: Admin on Messaging.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
Request Body*
{
"enabled": false,
"start": "string",
"end": "string"
}
Responses
200 OK
400 Bad Request
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
409 Conflict