Production data grouped by design key (ID + stitch count). Within each group, data is further broken down by machine and status. duration is total seconds in a status, status_count is the number of times that status occurred. Monitoring patterns (MonM*) are excluded; only designs with at least one "completed" event (status 1012) in the range are included.
Authentication
Requires the X-API-Key header.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
from | integer (query, Unix s) | yes | Start of time range. |
till | integer (query, Unix s) | yes | End of time range. |
locationId | integer (default 0) | no | Optional location filter. |
shift | string (query, JSON) | no | Optional shift filter. |
Response (200 OK)
| Field | Type | Description |
|---|---|---|
data[].key | string | e.g. 12345_1000. |
data[].designId | string | |
data[].stitches | string | |
data[].data[].machineId | string | |
data[].data[].machineName | string | |
data[].data[].status | integer | |
data[].data[].designId | string | |
data[].data[].designName | string | |
data[].data[].stitches | integer | |
data[].data[].duration | integer | Total duration in seconds. |
data[].data[].status_count | integer | Number of times the status occurred. |