General - Get employee time-queues
API Url
Used for loading time queues of the employee
GET
http://localhost:16010/ProMarkREST/rest/General/employees/{empId}/time-queues
Permissions: user
Path parameters
| Field | Type | Description |
|---|---|---|
| empId | String | Employee identifier |
Query parameters
| Field | Type | Description |
|---|---|---|
| type | String | Time queue type |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| timeQueues | Object[] | Collection of employee time-queues |
| changedBy | String | The user who made the last change |
descriptionoptional | String | Value description |
extraValueoptional | String | Time queue extra value |
fromoptional | Date | Time queue start date |
| id | String | Time queue record indentifier |
| lastChanged | Date | The time stamp of the last change |
| readOnly | Boolean | Is the time queue record updateable? |
tooptional | Date | Time queue end date |
| type | Number | Time queue type [] |
| value | String | Time queue value |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "warning""info" |
Success example
HTTP/1.1 200 OK{"response": {"data": {"timeQueues": [{"id": "3670085","from": "2018-03-28T00:00:00.000","to": "2018-03-31T00:00:00.000","type": 19,"value": "14-TIMER","extraValue": "7200,14400","description": "14 timer altid","readOnly": false,"lastChanged": "2025-08-07T15:56:45.000","changedBy": "DMA"},{"id": "3164354","from": "2018-03-08T00:00:00.000","type": 1,"value": "BH","description": "Bo Haslund","readOnly": true,"lastChanged": "2025-08-07T15:56:45.000","changedBy": "DMA"}]},"errorCode": 0,"errorMessage": ""}}