Xero · Example Payload

Xero Createmultipleemployeeearningstemplate Example

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Xero Createmultipleemployeeearningstemplate 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": "createMultipleEmployeeEarningsTemplate",
  "method": "POST",
  "path": "/Employees/{EmployeeID}/PayTemplateEarnings",
  "summary": "Creates multiple employee earnings template records for a specific employee",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": "[{\"ratePerUnit\":20.0,\"numberOfUnits\":8.0,\"earningsRateID\":\"f9d8f5b5-9049-47f4-8541-35e200f750a5\"},{\"ratePerUnit\":0.0,\"numberOfUnits\":8.0,\"earningsRateID\":\"65b83d94-f20f-45e1-85ae-387fcf460c26\"}]"
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "id": "00000000-0000-0000-0000-000000000000",
        "providerName": "provider-name",
        "dateTimeUTC": "2020-08-27 15:01:52.936904",
        "httpStatusCode": "OK",
        "pagination": null,
        "problem": null,
        "earningTemplates": [
          {
            "payTemplateEarningID": "1527cf6c-93db-41bf-aba2-9d6af1d3c499",
            "ratePerUnit": 20,
            "numberOfUnits": 8,
            "fixedAmount": null,
            "earningsRateID": "f9d8f5b5-9049-47f4-8541-35e200f750a5",
            "name": "Ordinary Time"
          },
          {
            "payTemplateEarningID": "92e757cc-b026-404d-804e-9dc2047a03e6",
            "ratePerUnit": 0,
            "numberOfUnits": 8,
            "fixedAmount": null,
            "earningsRateID": "65b83d94-f20f-45e1-85ae-387fcf460c26",
            "name": "Salary"
          }
        ]
      }
    }
  ]
}

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-createmultipleemployeeearningstemplate-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.