ProRoster - Change time queue
API Url
Use it for changing time queue from ProRoster
POST
http://localhost:16010/ProMarkREST/rest/ProRoster/employees/{id}/time-queues
Permissions: user
Parameter
| Field | Type | Description |
|---|---|---|
| request | Object | Main object containing the request data. |
| data | Object | Object containg data to be uploaded. |
| timeQueues | Object[] | List of demands. |
| from | Date | Starting date of the change. |
| to | Date | Ending date of the change. |
| type | Number | The type of the time queue entry. |
| value | String | The Id of the time queue entry. |
Success example:
HTTP/1.1 200 OK{{"response": {"errorCode": 0,"errorMessage": ""}}}
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data (empty). |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |