Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Update Messaging Quiet Hours

PUT /tenants/{tenant}/practice/messaging/quiet-hours

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

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

{
  "enabled": false,
  "start": "string",
  "end": "string"
}

Responses

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