Skip to main content
GET
/
v1
/
scanner
/
timesheets
Get timesheets
curl --request GET \
  --url http://localhost:3000/v1/scanner/timesheets
{
  "timesheets": [
    {
      "id": 123,
      "employeeName": "<string>",
      "employeeId": 123,
      "date": "<string>",
      "startTime": "<string>",
      "endTime": "<string>",
      "totalHours": 123,
      "breakMinutes": 123,
      "status": "<string>",
      "comment": "<string>",
      "area": "<string>"
    }
  ],
  "deputy_configured": true,
  "message": "<string>",
  "error": "<string>"
}

Query Parameters

days
integer
default:7

Number of days to look back for timesheets

Required range: 1 <= x <= 90
Example:

7

Response

List of timesheets

timesheets
object[]
required
deputy_configured
boolean
required
message
string
error
string