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
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| timeQueueTypes | Object | Collection of time queue types |
| description | String | Time queue type description |
readOnlyoptional | Boolean | If Time queue type is read only |
| type | Number | Time queue type that is used in portal |
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": {"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": ""}}