Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

commerce / commerce minimum transport cost

An agent that reconciles an inventory transfer optimizer needs its claimed minimum transport cost checked against every integral shipment satisfying the complete supplied source and destination totals.

POST https://detect.halowerk.com/v1/commerce/commerce-minimum-transport-cost

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "supply": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2048
          },
          "minItems": 1,
          "maxItems": 16
        },
        "demand": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2048
          },
          "minItems": 1,
          "maxItems": 16
        },
        "costs": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -1,
              "maximum": 1000000
            },
            "minItems": 1,
            "maxItems": 16
          },
          "minItems": 1,
          "maxItems": 16
        },
        "claimed_cost": {
          "type": "integer",
          "minimum": -1,
          "maximum": 2048000000
        }
      },
      "required": [
        "supply",
        "demand",
        "costs",
        "claimed_cost"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "supply": [
      1,
      2
    ],
    "demand": [
      2,
      0,
      1
    ],
    "costs": [
      [
        -1,
        5,
        0
      ],
      [
        8,
        8,
        0
      ]
    ],
    "claimed_cost": 16
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →