PayrollAu
Retrieves a timesheet by using a unique timesheet id
get/Timesheets/{TimesheetID}
Request
- Base URL: https://api.xero.com/payroll.xro/1.0
- URL: https://api.xero.com/payroll.xro/1.0/Timesheets/{TimesheetID}
- Auth: OAuth 2 (authorization code, authorization URL https://login.xero.com/identity/connect/authorize, token URL https://identity.xero.com/connect/token, scopes: payroll.timesheets, payroll.timesheets.read)
Path parameters
TimesheetIDstring uuid required
Example:4ff1e5cc-9835-40d5-bb18-09fdb118db9c
Timesheet id for single object
Response
search results matching criteria
Example response
{
"Timesheet": {
"EmployeeID": "72a0d0c2-0cf8-4f0b-ade1-33231f47b41b",
"StartDate": "/Date(322560000000+0000)/",
"EndDate": "/Date(322560000000+0000)/",
"Hours": 31,
"TimesheetID": "049765fc-4506-48fb-bf88-3578dec0ec47",
"TimesheetLines": [
{
"EarningsRateID": "966c5c77-2ef0-4320-b6a9-6c27b080ecc5",
"TrackingItemID": "ae777a87-5ef3-4fa0-a4f0-d10e1f13073a",
"NumberOfUnits": [
3
],
"UpdatedDateUTC": "/Date(1583967733054+0000)/"
}
],
"UpdatedDateUTC": "/Date(1583967733054+0000)/"
}
}Changes
No recorded changes to this operation across all 56 revisions of this API.