Home
Xero
Xero Updatetimesheet Example
Xero Updatetimesheet Example
Accounting Bank Feeds Finance Financial-Services Invoicing Payroll Small Business
Xero Updatetimesheet 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
operationId method path summary requestExamples responseExamples
Example Payload
{
"operationId": "updateTimesheet",
"method": "POST",
"path": "/Timesheets/{TimesheetID}",
"summary": "Updates a timesheet",
"requestExamples": [
{
"contentType": "application/json",
"example": "[ { \"EmployeeID\":\"b34e89ff-770d-4099-b7e5-f968767118bc\", \"StartDate\":\"/Date(1573171200000+0000)/\", \"EndDate\":\"/Date(1573689600000+0000)/\", \"Status\":\"APPROVED\", \"Hours\":22.0, \"TimesheetID\":\"a7eb0a79-8511-4ee7-b473-3a25f28abcb9\", \"TimesheetLines\":[ { \"EarningsRateID\":\"ab874dfb-ab09-4c91-954e-43acf6fc23b4\", \"TrackingItemID\":\"af5e9ce2-2349-4136-be99-3561b189f473\", \"NumberOfUnits\":[ 2.0, 10.0, 0.0, 0.0, 5.0, 0.0, 5.0 ], \"UpdatedDateUTC\":\"/Date(1573516185127+0000)/\" } ] } ]"
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"Id": "00000000-0000-0000-0000-000000000000",
"Status": "OK",
"ProviderName": "3f93110a-df13-49c7-b82f-a069813df188",
"DateTimeUTC": "/Date(1573516185258)/",
"Timesheets": [
{
"TimesheetID": "a7eb0a79-8511-4ee7-b473-3a25f28abcb9",
"EmployeeID": "b34e89ff-770d-4099-b7e5-f968767118bc",
"StartDate": "/Date(1573171200000+0000)/",
"EndDate": "/Date(1573689600000+0000)/",
"Status": "APPROVED",
"Hours": 22.0,
"TimesheetLines": [
{
"EarningsRateID": "ab874dfb-ab09-4c91-954e-43acf6fc23b4",
"TrackingItemID": "af5e9ce2-2349-4136-be99-3561b189f473",
"NumberOfUnits": [
2.0,
10.0,
0.0,
0.0,
5.0,
0.0,
5.0
],
"UpdatedDateUTC": "/Date(1573516185227+0000)/"
}
],
"UpdatedDateUTC": "/Date(1573516185227+0000)/"
}
]
}
}
]
}
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-updatetimesheet-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.