Compares productivity metrics (stitches and threadbreaks) across machines and shifts in a selected time frame. If no specific shift is provided, all configured shifts are compared.
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. |
includeBobbinThreadbreaks | boolean (default false) | no | Include bobbin threadbreaks. |
Response (200 OK)
| Field | Type | Description |
|---|---|---|
data[].machineId | string | |
data[].machineName | string | |
data[].locationId | integer | |
data[].locationName | string | |
data[].stitches | integer | |
data[].threadbreaks | integer | |
data[].shifts[].shiftId | integer | |
data[].shifts[].shiftName | string | |
data[].shifts[].stitches | integer | |
data[].shifts[].threadbreaks | integer |