Skip to content
HALOWERK

Frachtwerk

freight rail wagon length fit

Return consist length and the longest leading wagon prefix fitting a declared siding with coupling gaps.

POST https://fracht.halowerk.com/v1/freight-rail-wagon-length-fit

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
locomotive_mnumberYes
wagons_marrayYes
coupling_gap_mnumberYes
siding_mnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "locomotive_m": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1000000000
    },
    "wagons_m": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 1e-06,
        "maximum": 1000000000
      },
      "maxItems": 200,
      "minItems": 0
    },
    "coupling_gap_m": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000
    },
    "siding_m": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1000000000
    }
  },
  "required": [
    "locomotive_m",
    "wagons_m",
    "coupling_gap_m",
    "siding_m"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locomotive_m": 20,
  "wagons_m": [
    15,
    15,
    15
  ],
  "coupling_gap_m": 1,
  "siding_m": 55
}

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