General - Get time queue types

API Url

Load available time queue types for the current user.

GET
http://localhost:16010/ProMarkREST/rest/General/timequeue-types

Permissions: user

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    timeQueueTypesObject

Collection of time queue types

      descriptionString

Time queue type description

      readOnlyoptionalBoolean

If Time queue type is read only

      typeNumber

Time queue type that is used in portal

  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": {
"timeQueueTypes": [
{
"type": 1,
"description": "Category"
},
{
"type": 2,
"description": "Home group"
"readOnly":true
},
{
"type": 3,
"description": "Home department"
},
{
"type": 19,
"description": "Shift day profile"
}
]
},
"errorCode": 0,
"errorMessage": ""
}
}