LineWorkOrderSummary_Get (Get)
- Last UpdatedNov 06, 2025
- 1 minute read
| Get | LineWorkOrderSummary_Get |
Resource Path:/api/line/{lineId}/LineWorkOrderSummary
| Name | Description | Data Type |
|---|---|---|
| lineId | Required. The line ID. | integer |
| filterType | 0 = Current hour 1 = Last n hours, where n is the number of hours specified by the filterDuration parameter 2 = Current shift 3 = Previous shift 4 = Current day 5 = Yesterday 6 = Current week 7 = Previous week 8 = Current month 9 = Previous month | integer |
| filterDuration | If the filter type is set to 1, last n hours, this is the value for n (that is, the number of hours). If no value is provided, the default value of 1 hour is used. | integer |
The response body is of type Array[Mes.WebApi.Models.LineWorkOrderSummary].
To get all work orders that were run on the line with an ID of 20 during the current shift:
api/line/20/LineWorkOrderSummary
To get the work orders that were run on the line with an ID of 20 within the last 10 hours:
api/line/20/LineWorkOrderSummary&filterType=1&filterDuration=10
Examples: Work Tasks Lookups
To get all work orders that were run on a line during the current shift:
api/line/{lineID}/LineWorkOrderSummary
To get the work orders that were run on a line within a certain duration:
api/line/{lineId}/LineWorkOrderSummary&filterType={filterType}&filterDuration={filterDuration}