General - Delete employee time-queue
API Url
Used for deleting the employee time queue
DELETE
http://localhost:16010/ProMarkREST/rest/General/employees/{empId}/time-queues/{id}
Permissions: user
Path parameters
| Field | Type | Description |
|---|---|---|
| empId | String | Employee identifier |
| id | String | Time queue record identifier |
Query parameters
| Field | Type | Description |
|---|---|---|
| recalculate | Logical | Indicates whether the system should automatically recalculate time queue data |
Parameter
| Field | Type | Description |
|---|---|---|
| request | Object | Main object containing the request data. |
| data | Object | Object containg data to be uploaded. |
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 |
descriptionoptional | String | Value description |
extraValueoptional | String | Time queue extra value |
fromoptional | Date | Time queue start date |
| id | String | Time queue record indentifier |
| readOnly | Boolean | Is the time queue record updateable? |
tooptional | Date | Time queue end date |
| type | Number | Time queue type (same type number that is used in portal employee information) |
| 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": "3670097","from": "2018-04-22T00:00:00.000","type": 1,"value": "BH","description": "Bo Haslund","readOnly": false},{"id": "156092","type": 18,"value": "SBA","description": "Sven ~\"Org~\" Bay","readOnly": true}]},"errorCode": 0,"errorMessage": ""}}