POST/api/v1/s2s/pharmacy/rooms/{roomId}/schedule-changes

Change the weekly hours of a room from a date

Freigegebener Partner-Endpunkt aus dem stabilen OpenAPI-1.10.0-Vertrag.

Übersicht

Nutzen Sie den Endpunkt ausschließlich mit einem Partner-API-Schlüssel. Die Codebeispiele verwenden Platzhalter und die öffentliche Sandbox-Adresse.

Methode
POST
Endpunkt
/api/v1/s2s/pharmacy/rooms/{roomId}/schedule-changes
Authentifizierung
X-API-Key

Anfrage

Parameter

roomIdstring (uuid)pathErforderlich
Pharmacy consultation room identifier.
Beispiel: ac7515a2-0cf6-4f73-b20b-3b96f3c97c9d
X-Correlation-IDstringheader
Optional opaque request correlation ID for tracing API calls across systems. Billing audit paths persist only UUIDv4-shaped values and drop free-form values.
Beispiel: 33333333-3333-4333-8333-333333333333

Request-Body

Erforderlich
effectiveFromstring (date)Erforderlich
First date of the new weekly schedule (today or later, within the planning horizon).
Beispiel: 2026-11-02
impactVersionstring
SHA-256 impact version from a preview or a previous response. Optional for partners: without it the write proceeds; a stale value yields 409 ROOM_CALENDAR_IMPACT_STALE.
Beispiel: 00fa1de975d61372e9fb9919cdd0b999e2b5e301795a6ab403e2692b5bfe6162
windowsarrayErforderlich
Complete new weekly list (0 to 42 windows). An empty list means no opening hours from that date.
windows[].dayOfWeekintegerErforderlich
0 Sunday to 6 Saturday.
Beispiel: 1
windows[].endstringErforderlich
Window end, HH:mm, after start.
Beispiel: 12:00
windows[].startstringErforderlich
Window start, HH:mm.
Beispiel: 08:00

Vertrag

Der versionierte OpenAPI-Vertrag ist die verbindliche Quelle für Parameter, Request-Body und Response-Schemas.

Version

1.10.0

Erwartete Antwort

201 Created

OpenAPI 1.10.0 herunterladen