Stampfactory
Dokumentation
Dienstplan

Dienstpläne auflisten

GET
/rosters
AuthentifizierungBearer <token>

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

Ort: header

Query-Parameter

unit_id?|
Formatuuid
unit_ids[]?array<>
Formatuuid
start?string

No sometimes: the pair has to be complete, and that rule can only fire when the missing half is still validated.

Formatdate
end?string
Formatdate
status?|

Erlaubte Werte

  • "draft"
  • "published"
  • "archived"
  • "0"
  • "1"
  • "2"

Response-Body

application/json

application/json

application/json

curl -X GET "https://example.com/rosters"
{  "data": [    {      "id": "string",      "name": "string",      "period_start": "string",      "period_end": "string",      "unit_id": "string",      "status": "string",      "created_by": "string",      "notes": "string",      "budget_cents": "string",      "entries_count": 0,      "created_at": "string",      "updated_at": "string"    }  ]}