Skip to content
HALOWERK

Calculators and Rule Checks

inventory planning supplier cycle service

Inventory cycle service measures replenishment cycles filled without a stockout and identifies the first failed cycle. Use it when an agent needs measuring supplier-cycle reliability.

POST https://rechen.halowerk.com/v1/inventory-planning-supplier-cycle-service

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
cyclesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "cycles": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "available": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10000000
          },
          "demand": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10000000
          }
        },
        "required": [
          "available",
          "demand"
        ],
        "additionalProperties": false
      },
      "maxItems": 366,
      "minItems": 1
    }
  },
  "required": [
    "cycles"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "cycles": [
    {
      "available": 8,
      "demand": 4
    },
    {
      "available": 5,
      "demand": 8
    },
    {
      "available": 9,
      "demand": 5
    }
  ]
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "cycles": {
          "type": "integer"
        },
        "complete": {
          "type": "integer"
        },
        "cycle_service": {
          "type": "number"
        },
        "first_failed": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "cycles",
        "complete",
        "cycle_service",
        "first_failed"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →