Xero · Example Payload
Xero Gettimesheets Example
AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business
Xero Gettimesheets Example is an example object payload from Xero, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationIdmethodpathsummaryrequestExamplesresponseExamples
Example Payload
{
"operationId": "getTimesheets",
"method": "GET",
"path": "/Timesheets",
"summary": "Retrieves timesheets",
"requestExamples": [],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"Id": "00000000-0000-0000-0000-000000000000",
"Status": "OK",
"ProviderName": "provider-name",
"DateTimeUTC": "/Date(1573516183708)/",
"Timesheets": [
{
"TimesheetID": "863bbd31-0447-4419-80d5-d733d5e723ba",
"EmployeeID": "b34e89ff-770d-4099-b7e5-f968767118bc",
"StartDate": "/Date(1547769600000)/",
"EndDate": "/Date(1548288000000)/",
"Status": "APPROVED",
"Hours": 24.0,
"TimesheetLines": [
{
"EarningsRateID": "ab874dfb-ab09-4c91-954e-43acf6fc23b4",
"NumberOfUnits": [
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
0.0
],
"UpdatedDateUTC": "/Date(1572915827000+0000)/"
}
],
"UpdatedDateUTC": "/Date(1572915827000+0000)/"
},
{
"TimesheetID": "544eb3a7-0d63-495b-90ae-f6aa3c26c2c8",
"EmployeeID": "7aa04979-ded5-44d9-b09a-793749425844",
"StartDate": "/Date(1572566400000)/",
"EndDate": "/Date(1573084800000)/",
"Status": "APPROVED",
"Hours": 10.0,
"TimesheetLines": [
{
"EarningsRateID": "ab874dfb-ab09-4c91-954e-43acf6fc23b4",
"NumberOfUnits": [
2.0,
2.0,
2.0,
2.0,
2.0,
0.0,
0.0
],
"UpdatedDateUTC": "/Date(1572916045000+0000)/"
}
],
"UpdatedDateUTC": "/Date(1572916045000+0000)/"
}
]
}
}
]
}
Work with this as data
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/xero-gettimesheets-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.