Stampfactory
Dokumentation
Dienstplan-Einträge

Einträge veröffentlichen

Publish a whole day (date) or an explicit selection (entry_ids) atomically, with the same compliance gate contract as the roster publish

POST
/rosters/{roster}/entries/publish
AuthentifizierungBearer <token>

Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).

Ort: header

Pfadparameter

roster*string

The roster ID

Formatuuid

Request-Body

application/json

TypeScript-Definitionen

TypeScript-Typ für request body.

Body of POST /rest/rosters/{roster}/entries/publish. Either a list of entries or a whole day is published, never both and never neither.

Response-Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/rosters/497f6eca-6276-4993-bfeb-53cbbbba6f08/entries/publish" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": [    null  ],  "published_count": 0}