Command Palette

Search for a command to run...

Log In

Get a Timesheet Batch

get/public/v1/timesheet-batches/{timesheetBatch}

Reports every attempt to send the batch's shifts to the provider's payroll platform, oldest first.

  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

  • timesheetBatchstringrequired

    The timesheet batch UUID

Response

200application/json

TimesheetBatchResource

  • dataobjectrequired
    ▶Show 5 child attributes
    • idstringrequired
      Example:t1s2b3a4-t5c6-47h8-9a0b-1c2d3e4f5a6b
    • startstringrequired
      Example:2024-01-07T13:00:00+00:00
    • endstringrequired
      Example:2024-01-21T12:59:59+00:00
    • created_atstringrequired
      Example:2024-01-22T09:30:00+00:00
    • payroll_sendsobject[]required
      ▶Show 10 child attributes
      • idstringrequired
        Example:e1m2p3o4-t5h6-47e8-9a0b-1c2d3e4f5a6b
      • platformenum<string>required
        Available options:Employment HeroMYOBPayCatQuickBooks PayrollXeroOther
      • statusstringrequired
        Example:completed
      • methodstring | nullrequired
        Example:create
      • total_linesinteger | nullrequired
        Example:42
      • successful_linesinteger | nullrequired
        Example:42
      • failed_linesinteger | nullrequired
        Example:0
      • failed_reasonstringrequired
      • synced_atstring | nullrequired
        Example:2024-01-22T09:35:00+00:00
      • created_atstringrequired
        Example:2024-01-22T09:30:00+00:00
  • 401Unauthenticated
  • 403Authorization error
  • 404Not found