Xero · Example Payload

Xero Getstatutoryleavesummary Example

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Xero Getstatutoryleavesummary 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": "getStatutoryLeaveSummary",
  "method": "GET",
  "path": "/StatutoryLeaves/Summary/{EmployeeID}",
  "summary": "Retrieves a specific employee's summary of statutory leaves using a unique employee ID",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "id": "1908f4d1-b85d-4d6d-a885-6b6e2922ad03",
        "providerName": "provider-name",
        "dateTimeUTC": "2020-04-02 19:47:06.079138",
        "httpStatusCode": "OK",
        "pagination": null,
        "problem": null,
        "statutoryLeaves": [
          {
            "statutoryLeaveID": "17f4c3c7-d65c-4572-9118-03798f26f813",
            "employeeID": "aad6b292-7b94-408b-93f6-e489867e3fb0",
            "type": "Sick",
            "endDate": "2020-04-01",
            "startDate": "2020-03-28",
            "isEntitled": false,
            "status": "Pending"
          }
        ]
      }
    }
  ]
}

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-getstatutoryleavesummary-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 email required.

A second provider on the same verified email joins the account you already have.