Xero · Example Payload

Xero Updatepayslip Example

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Xero Updatepayslip 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": "updatePayslip",
  "method": "POST",
  "path": "/Payslip/{PayslipID}",
  "summary": "Updates a payslip",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "Payslip": {
          "EmployeeID": "cdfb8371-0b21-4b8a-8903-1024df6c391e",
          "DeductionLines": [
            {
              "DeductionTypeID": "727af5e8-b347-4ae7-85fc-9b82266d0aec",
              "CalculationType": "FIXEDAMOUNT",
              "NumberOfUnits": 10
            }
          ]
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Status": "OK",
        "ProviderName": "provider-name",
        "DateTimeUTC": "/Date(1589568253813)/",
        "Payslips": [
          {
            "EmployeeID": "cdfb8371-0b21-4b8a-8903-1024df6c391e",
            "PayslipID": "c81e8bcc-56b0-4740-b46b-767753a6ee45",
            "FirstName": "Albus",
            "LastName": "Dumbledore",
            "LastEdited": "/Date(1589568253735+0000)/",
            "Tax": 0,
            "NetPay": 1.4,
            "UpdatedDateUTC": "/Date(1589568253735+0000)/",
            "DeductionLines": [
              {
                "Amount": 4,
                "CalculationType": "FIXEDAMOUNT",
                "DeductionTypeID": "ed05ea82-e40a-4eb6-9c2e-4b3c03e7e938"
              }
            ]
          }
        ]
      }
    }
  ]
}

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