Xero · Example Payload

Xero Gettimesheet Example

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Xero Gettimesheet 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

Raw ↑
{
  "operationId": "getTimesheet",
  "method": "GET",
  "path": "/Timesheets/{TimesheetID}",
  "summary": "Retrieves a timesheet by using a unique timesheet id",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Status": "OK",
        "ProviderName": "provider-name",
        "DateTimeUTC": "/Date(1573516184161)/",
        "Timesheet": {
          "TimesheetID": "df954ca3-3a70-47e9-9a3e-80711e7c5f90",
          "EmployeeID": "b34e89ff-770d-4099-b7e5-f968767118bc",
          "StartDate": "/Date(1547164800000+0000)/",
          "EndDate": "/Date(1547683200000+0000)/",
          "Status": "APPROVED",
          "Hours": 15.0,
          "TimesheetLines": [
            {
              "EarningsRateID": "ab874dfb-ab09-4c91-954e-43acf6fc23b4",
              "NumberOfUnits": [
                3.0,
                3.0,
                3.0,
                3.0,
                0.0,
                3.0,
                0.0
              ],
              "UpdatedDateUTC": "/Date(1572915797000+0000)/"
            }
          ],
          "UpdatedDateUTC": "/Date(1572915797000+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.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/xero-gettimesheet-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.