AvailableLineEnts_Get (Get)
- Last UpdatedNov 06, 2025
- 1 minute read
| Get | AvailableLineEnts_Get |
Resource Path:/api/AvailableLineEnts
| Name | Description | Data Type |
|---|---|---|
| name | An entity name. This can be a partial name, in which case all entries whose name includes this string will be considered a match. | string |
| description | An entity description. This can be a partial description, in which case all entities whose description includes this string will be considered a match. | string |
| canStore | An indication whether the entities can serve as a storage location. | boolean |
The response body is of type Array[Mes.WebApi.Models.Entity].
Get all entities that can be added to a line (no filter parameters):
api/AvailableLineEnts
Get all entities whose name contains Roaster12:
api/AvailableLineEnts?name=Roaster12
Get all entities whose name contains Roaster12 and that can serve as a storage location:
api/AvailableLineEnts?name=Roaster12&canStore=true
Examples: Work Tasks Lookups
Get all entities that can be added to a line (no filter parameters):
api/AvailableLineEnts
Get all entities filtered by an entity name:
api/AvailableLineEnts?name={name}
Get all entities filtered by a name and whether they can serve as a storage location:
api/AvailableLineEnts?name={name}&canStore={canStore}
The entities to be retrieved are determined by the filter parameters. Passing no filter parameters will retrieve all entities that can be added to a line.
To be included in the returned JSON array, an entity must have the following properties:
- Can schedule jobs
- Can run jobs
- Can capture utilization
- Can track OEE
- Have only one job position
- Are not linked to any line (as parents or children)
- Have a non-null default production rate