GET Timesheets Report

Changed on

/reports/timesheets Permission level: 5

get/reports/timesheets

Request

  • Base URL
    https://www.humanity.com/api/v2
  • Auth
    API key in query parameter access_token

Query parameters

start_datestring date required
end_datestring date required
typestring required

enum[timesheets_summary, timesheets_attendance, timesheets_late_summary]

deductbreaksinteger

null or 0 : Do not deduct breaks, 1: Deduct breaks

locationinteger
schedulestring

Array of schedule ids (eg. "234,563,770")

employeestring

Array of employees ids (eg. "234,563,770")

skillstring
remote_siteinteger
approval_statusinteger

-1 - All timesheets 1 - Approved timesheets 2 - Unapproved timesheets

Response

200

statusstring
tokenstring

Example response

{
  "status": "1",
  "data": {
    "id": "1376",
    "name": "John Smith",
    "shifts": "0",
    "hours_scheduled": "0",
    "hours_clocked": "0",
    "late": "0",
    "absent": "0",
    "karma": "0",
    "percent": "0"
  },
  "token": "xxxxxxxx"
}

Changes