Represents historical inventory totals for a board type at a specific point in time, including unit-dependent values and optional custom properties.
Implements: IContainsUnitSystemDependentProperties, ISupportsLocalizedSerialization, ISupportsAdditionalProperties, IDimensionPropertiesLengthWidth
Example
{
"timestamp": "2025-04-09T08:15:00+00:00",
"materialCode": "P2_Gold_Craft_Oak",
"boardCode": "P2_Gold_Craft_Oak_19.0",
"boardTypeType": "Board",
"length": 2800.0,
"width": 2070.0,
"costs": 12.45,
"totalQuantityInInventory": 12,
"totalQuantityAllocated": 3,
"totalQuantityAvailable": 9,
"totalAreaInInventory": 69.55,
"totalAreaAllocated": 17.39,
"totalAreaAvailable": 52.16,
"totalValueInInventory": 865.8975,
"unitSystem": "Metric",
"supplierBatch": "BATCH-2025-04"
}
Properties
Key: BoardCode uniquely identifies an entry.
Required: Timestamp, BoardCode, MaterialCode, Length, Width
| Property | Type | Description | Details |
|---|---|---|---|
BoardCode |
string (required) |
Code identifying the board format represented by this inventory snapshot. | Key (unique identifier), Length 1 to 50 Example: P2_Gold_Craft_Oak_19.0 |
BoardTypeType |
BoardTypeType |
Whether the board format represents stock material, an offcut, or a template. | Example: Board |
Costs |
number? |
Board cost per area unit, when known. | Unit for Metric: amount/m². Unit for Imperial: amount/ft². Example: 12.45 |
Length |
number? (required) |
Length of the part or board; null represents an unspecified measurement. | Value 0.1 to 19999.9 Unit for Metric: mm. Unit for Imperial: inch. Example: 2800 |
MaterialCode |
string (required) |
Code of the shared material to which this board format belongs. | Length 1 to 50 Example: P2_Gold_Craft_Oak |
Timestamp |
DateTime (required) |
Date and time represented by this inventory snapshot. | Example: 2025-04-09T08:15:00+00:00 |
TotalAreaAllocated |
number? |
Reserved area calculated from Length, Width, and TotalQuantityAllocated, or null if an input is unknown. | Computed (read-only) Unit for Metric: m². Unit for Imperial: ft². Example: 17.39 |
TotalAreaAvailable |
number? |
Available area calculated from Length, Width, and TotalQuantityAvailable, or null if an input is unknown. | Computed (read-only) Unit for Metric: m². Unit for Imperial: ft². Example: 52.16 |
TotalAreaInInventory |
number? |
Inventory area calculated from Length, Width, and TotalQuantityInInventory, or null if an input is unknown. | Computed (read-only) Unit for Metric: m². Unit for Imperial: ft². Example: 69.55 |
TotalQuantityAllocated |
integer? |
Number of boards reserved for production, when known. | Example: 3 |
TotalQuantityAvailable |
integer? |
Boards available after subtracting TotalQuantityAllocated from TotalQuantityInInventory, or null if either is unknown. | Computed (read-only) Example: 9 |
TotalQuantityInInventory |
integer? |
Number of boards held in inventory, when known. | Example: 12 |
TotalValueInInventory |
number? |
Inventory value calculated as Costs multiplied by TotalAreaInInventory, or null if either is unknown. | Computed (read-only) Example: 865.8975 |
UnitSystem |
UnitSystem |
Unit system used for properties marked with ValueDependsOnUnitSystemAttribute. Use Metric for metric units (for example mm) and Imperial for imperial units (for example inches). | Default: MetricExample: Metric |
Width |
number? (required) |
Width of the part or board; null represents an unspecified measurement. | Value 0.1 to 19999.9 Unit for Metric: mm. Unit for Imperial: inch. Example: 2070 |
AdditionalProperties |
object? |
Custom inventory values serialized as properties at the JSON root, not inside an AdditionalProperties object. | Example: { "customField1": "value1" } |
Usage in the API
Input: The caller sends the type to the API. Output: The API returns the type.
| Method | Endpoint | Usage of the type |
|---|---|---|
| GET | /api/materialManager/statistics/inventory/boards |
Output |
Package: HomagGroup.HomagConnect.MaterialManager.Contracts 2.2.5-preview.98
Source: BoardTypeInventoryHistory.cs
Samples: MaterialManager samples
