Skip to content
HALOWERK

Office Automation

dispatch critical ratio priority

Return current critical-ratio priorities, slack and urgency for supplied machine jobs and a declared clock time.

POST https://buero.halowerk.com/v1/dispatch-critical-ratio-priority

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
jobsarrayYes
nownumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "jobs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "remaining": {
            "type": "number",
            "minimum": 1e-06,
            "maximum": 1000000
          },
          "due": {
            "type": "number",
            "minimum": -1000000000,
            "maximum": 1000000000
          }
        },
        "required": [
          "id",
          "remaining",
          "due"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    },
    "now": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000
    }
  },
  "required": [
    "jobs",
    "now"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "jobs": [
    {
      "id": "a",
      "remaining": 5,
      "due": 10
    },
    {
      "id": "b",
      "remaining": 4,
      "due": 4
    }
  ],
  "now": 0
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub →