GET Workunits Daily Report
Changed on/reports/wu_daily_report Permission level: 5
get/reports/wu_daily_report
Request
- Base URLhttps://www.humanity.com/api/v2
- AuthAPI key in query parameter access_token
Query parameters
start_datestring date
end_datestring date
employeestring
schedulestring
taskstring
locationstring
task_statestring
workunitstring
Work Unit id - retrieve report only for this work unit
remote_sitestring
Response
200
Example response
{
"status": 1,
"token": "xxxxxxx",
"data": {
"wu_names": {
"605692": {
"107": "Staples",
"108": "Cards"
}
},
"data": {
"605692": {
"86941866": {
"878708": {
"start": "8:00am",
"cost": "37.5",
"worked_units": {
"107": "55",
"108": "10"
},
"end": "4:00pm",
"employee_id": "878708",
"position": "Student",
"employee": "John Doe",
"location": "WorkShop"
}
},
"86941886": {
"878708": {
"start": "7:00pm",
"cost": 10,
"worked_units": {
"108": "10"
},
"end": "10:00pm",
"employee_id": "878708",
"position": "Student",
"employee": "John Doe",
"location": "WorkShop"
}
},
"1412838000878708": {
"878708": {
"start": "N/A",
"cost": "2.5",
"worked_units": {
"107": "5"
},
"end": "N/A",
"employee_id": "878708",
"position": "Student",
"employee": "John Doe",
"location": "WorkShop"
}
}
}
}
}
}Changes
- info
endpoint added
- info