ZWZ Fileinterface
ZWZ Fileinterface is a file-driven laundry integration.
It reads one semicolon-separated CSV file and turns the latest state for each garment into an
inscan, a device load, an outscan, or no action.
This page describes the file format, the meaning of each column, the accepted values, and the rules that determine whether a row is valid.
File Format
Each row describes one garment identified by TagID.
The file must contain these columns in the header:
-
TagID -
ArticleNumber -
ArticleDescription -
Size -
LastIn -
LastOut
The file is semicolon-separated.
Column Reference
| Column | Meaning | Accepted Values |
|---|---|---|
|
The garment identifier. |
Required. Non-empty. One garment per row. |
|
The article identity for the garment. |
Optional for existing garments. Required when a row must create a new garment. |
|
The human-readable article name. |
Optional text. When present, it is used for article creation or update. |
|
The garment size. |
Required for new garments. Use the size value exactly as it should appear in Q-Cloud. |
|
The time the garment was received back by the laundry. |
A timestamp in |
|
The time the garment left the laundry. |
A timestamp in |
Validation Rules
Rows are invalid when:
-
TagIDis missing -
the row does not match the expected header shape
-
LastInorLastOutis not a valid timestamp and is not the2000-01-01 00:00:00sentinel -
a new garment row does not provide the data needed to create the garment
-
the CSV structure is broken enough that the row cannot be interpreted safely
2000-01-01 00:00:00 is treated as "no scan".
If both timestamps are present, the newest one wins.
If they are equal, LastOut is treated as the later operational state.
How The Integration Decides
For each garment:
-
The latest file event is determined from
LastInandLastOut. -
That file event is compared with the garment’s
modifiedAtvalue from Q-Cloud. -
If Q-Cloud already has the same or newer information, the row is ignored.
-
Otherwise, the integration performs exactly one action:
-
LastIn→inscan -
LastOut→ device load when load mode is configured -
LastOut→ outscan when no device is configured
-
The integration never sends both an in-scan and an out-scan for the same row in one run.
Item And Article Behavior
The file can also drive article and garment creation when the data is present:
-
missing articles are created
-
article names are updated when the description changes
-
missing items are created for garments that do not yet exist
-
rows with bad input are skipped with warnings instead of stopping the whole file
Behavior Modes
The file interface supports a masterfile delete mode.
In masterfile mode, any garment that exists in Q-Cloud but is not present in the file is removed. This mode is a global file behavior and is not tied to a specific item pool.