Skip to content
HALOWERK

Bürowerk

roster night window hours

Split supplied resource-pool shifts into recurring declared night-window and other hours.

POST https://buero.halowerk.com/v1/roster-night-window-hours

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
night_startnumberYes
night_endnumberYes
shiftsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "night_start": {
      "type": "number",
      "minimum": 0,
      "maximum": 24
    },
    "night_end": {
      "type": "number",
      "minimum": 0,
      "maximum": 24
    },
    "shifts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 32,
            "minLength": 1
          },
          "team": {
            "type": "string",
            "pattern": "^pool_[A-Z0-9_]{1,24}$"
          },
          "start": {
            "type": "number",
            "minimum": 0,
            "maximum": 744
          },
          "end": {
            "type": "number",
            "minimum": 0,
            "maximum": 744
          }
        },
        "required": [
          "id",
          "team",
          "start",
          "end"
        ],
        "additionalProperties": false
      },
      "maxItems": 200,
      "minItems": 1
    }
  },
  "required": [
    "night_start",
    "night_end",
    "shifts"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "night_start": 22,
  "night_end": 6,
  "shifts": [
    {
      "id": "S1",
      "team": "pool_A",
      "start": 20,
      "end": 30
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub →