SUPPORTED METHODS:
GET
| Parameters | Type | Description |
|---|---|---|
| token (required) | Valid token | |
| start_date (accepted) | date | Start date |
| end_date (accepted) | date | End date |
| employee (accepted) | integer | Employee id |
| schedule (accepted) | integer | Position id |
| task (accepted) | integer | Task |
| location (accepted) | varchar | Location |
| task_state (accepted) | varchar | Task state |
| remote_site (accepted) | integer | Remote site |
DOCUMENTATION
GET
Returns a list of worked units
Level 5 is required
--
Example Request:
{
"module":"reports.tasks",
"method":"GET",
"request":{
}
}Example response:
{
"status": 1,
"data": [
{
"start_time": "Not started",
"start_date": "Not started",
"end_time": "Not completed",
"end_date": "Not completed",
"task_name": "task 2",
"employee": "Brus Vejn",
"duration": "0:00:00",
"id": "2165774",
"eid": "2222",
"shift": "380740254"
},
{
"start_time": "Not started",
"start_date": "Not started",
"end_time": "Not completed",
"end_date": "Not completed",
"task_name": "Task",
"employee": "Hak Fin",
"duration": "0:00:00",
"id": "2098071",
"eid": "",
"shift": "381607716"
},
{
"start_time": "Not started",
"start_date": "Not started",
"end_time": "Not completed",
"end_date": "Not completed",
"task_name": "task 2",
"employee": "Brus Vejn",
"duration": "0:00:00",
"id": "2165774",
"eid": "2222",
"shift": "381327629"
}
],
"token": "xxxxxxx"
}