UserLineAccess_Get (Get)
- Last UpdatedNov 06, 2025
- 1 minute read
| Get | UserLineAccess_Get |
Resource Path:/api/UserLineAccess/{lineId}
| Name | Description | Data Type |
|---|---|---|
| lineId | Required. The ID of the line for which to retrieve access information. | integer |
| userId | The ID of the user for whom to retrieve line access information. If this parameter is not included in the endpoint, line access information for the current user is returned. The current user is the user entered in the Authentication window that appears when accessing the Web API. | string |
The response body is of type Array[Mes.WebApi.Models.LineAccess].
To get the access information for the line whose ID is 22 for the user mdmuser:
api/UserEntityAccess?lineId=22&userId=mdmuser
Examples: Work Tasks Lookups
To get access information for a specific user and line:
api/UserEntityAccess?lineId={lineId}&userId={userId}