reports.tasks

SUPPORTED METHODS:

GET

ParametersTypeDescription
token (required)Valid token
start_date (accepted)dateStart date
end_date (accepted)dateEnd date
employee (accepted)integerEmployee id
schedule (accepted)integerPosition id
task (accepted)integerTask
location (accepted)varcharLocation
task_state (accepted)varcharTask state
remote_site (accepted)integerRemote 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"
}