← Files Supply Split Cost ScenarioARCHIVED FILE
EXAMPLE.json
1.37 KB · Nov 3, 2026 · 12:13 UTC
{
"input": {
"requiredUnits": 100,
"allocations": [
{
"id": "Q1",
"allocatedUnits": 60,
"capacityUnits": 60,
"unitPrice": 2,
"orderFee": 10
},
{
"id": "Q2",
"allocatedUnits": 40,
"capacityUnits": 100,
"unitPrice": 3,
"orderFee": 5
}
]
},
"expected": {
"summary": "Allocated 100 of 100 units; scenario cost 255.",
"rows": [
{
"id": "Q1",
"allocatedUnits": 60,
"capacityUnits": 60,
"unitPrice": 2,
"orderFee": 10,
"appliedOrderFee": 10,
"allocatedCost": 130,
"allocatedTotalUnits": 100,
"demandDifference": 0,
"totalScenarioCost": 255,
"matchesDemand": true
},
{
"id": "Q2",
"allocatedUnits": 40,
"capacityUnits": 100,
"unitPrice": 3,
"orderFee": 5,
"appliedOrderFee": 5,
"allocatedCost": 125,
"allocatedTotalUnits": 100,
"demandDifference": 0,
"totalScenarioCost": 255,
"matchesDemand": true
}
],
"warnings": [
"Compare supplied figures in one currency for the same specification. No supplier verification, negotiation, ordering or payment occurs.",
"This evaluates your chosen allocation without finding a cheapest or most reliable allocation."
]
}
}
SHA-256: 4658a128dc0cfc604a2cabc259ac94e4e1bab002460e9a477e042c8ee5b3c35d