Retrieves all timesheets for the specified business.

Request

GET https://api.nzpayroll.co.nz/api/v2/business/{businessId}/manager/timesheet

Path parameters

Parameter name Value Description Additional
businessId string Required

Query parameters

Parameter name Value Description Additional
fromDate date-time Required
toDate date-time Required
status string

Possible values are:

  • Missing
  • Submitted
  • Approved
  • Rejected
  • Processed
Required
currentPage int32
pageSize int32

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK

PagedResultModel<TimesheetLineModel>