POST/api/v1/s2s/pharmacy/rooms/closures
Close one, several or all rooms for a range
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/closures
- Authentifizierung
- X-API-Key
Anfrage
Parameter
- 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- allRoomsboolean
- All active rooms of the pharmacy. Exclusive with roomIds.
- Beispiel: true
- fromstring (date)Erforderlich
- First date.
- Beispiel: 2026-10-19
- holidayCodestring
- Municipal holiday suggested for the stored state. With it from must equal to and reasonCode must be absent.
- Beispiel: CORPUS_CHRISTI
- 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
- pharmacyOrgIdstring (uuid)Erforderlich
- Pharmacy organization (required).
- Beispiel: 37d0b63d-886d-4a71-875f-2cab61ca8e5e
- reasonCodestring
- Fixed reason code. No free text exists. Treat unknown values as unrecognized instead of failing; values may be added in a minor release.
- Beispiel: VACATION
- roomIdsarray
- Rooms of the pharmacy, 1 to 50. Exactly one of roomIds or allRooms.
- tostring (date)Erforderlich
- Last date, at most 366 days after from.
- Beispiel: 2026-10-21
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