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

FieldTypeDescription
empIdString

Employee identifier

Query parameters

FieldTypeDescription
typeString

Time queue type

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    timeQueuesObject[]

Collection of employee time-queues

      changedByString

The user who made the last change

      descriptionoptionalString

Value description

      extraValueoptionalString

Time queue extra value

      fromoptionalDate

Time queue start date

      idString

Time queue record indentifier

      lastChangedDate

The time stamp of the last change

      readOnlyBoolean

Is the time queue record updateable?

      tooptionalDate

Time queue end date

      typeNumber

Time queue type []

      valueString

Time queue value

  messageoptionalObject

Object containing response messages.

    codeNumber

Message code.

    textString

Message text.

    typeString

Type of message.

Allowed values:"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": ""
}
}