v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Get Timesheet Summary

Returns summary of timesheets such as total work time of users across from & to date

get/timesheets/summary

Query parameters

from_datestring date required
to_datestring date required

Request body

Response

200

typestring

Example response

{
  "type": "success",
  "data": {
    "dates": [
      "2024-09-19"
    ],
    "timesheet_data": [
      {
        "user": {
          "user_id": 11440,
          "user_uid": "c425fe39-2309-4d2b-87b8-5b4b65546ccb",
          "first_name": "Velmurugan",
          "last_name": "K",
          "email": "velmurugan.k@zuper.co",
          "designation": "Admin",
          "emp_code": "Z111",
          "profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/6c287db0-ff7c-11e7-b3a8-29b417a4f3fa/0772b941-2f4e-4723-b0d4-cf6ba1064845.jpg",
          "hourly_labor_charge": 120,
          "is_active": true,
          "created_at": "2022-11-02T10:35:52.000Z",
          "updated_at": "2024-09-19T09:50:15.000Z",
          "role": {
            "role_uid": "504e4eac-ff7d-11e7-8be5-0ed5f89f718b",
            "role_key": "ADMIN",
            "role_name": "Admin",
            "created_at": "2018-01-22T00:00:00.000Z",
            "updated_at": "2018-01-22T00:00:00.000Z"
          }
        }
      }
    ]
  }
}