Skip to content
HALOWERK

Frachtwerk

freight route load distance

Integrate carried tonnes over supplied route distances and ordered stop load changes.

POST https://fracht.halowerk.com/v1/freight-route-load-distance

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
initial_tonnesnumberYes
legsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "initial_tonnes": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000
    },
    "legs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "km": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "change_after_tonnes": {
            "type": "number",
            "minimum": -1000000000,
            "maximum": 1000000000
          }
        },
        "required": [
          "km",
          "change_after_tonnes"
        ],
        "additionalProperties": false
      },
      "maxItems": 200,
      "minItems": 1
    }
  },
  "required": [
    "initial_tonnes",
    "legs"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "initial_tonnes": 2,
  "legs": [
    {
      "km": 10,
      "change_after_tonnes": 1
    },
    {
      "km": 20,
      "change_after_tonnes": -3
    }
  ]
}

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 โ†’