Xero · Example Payload

Xero Getemployeestatutoryleavebalances Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Getemployeestatutoryleavebalances 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": "getEmployeeStatutoryLeaveBalances",
  "method": "GET",
  "path": "/Employees/{EmployeeID}/StatutoryLeaveBalance",
  "summary": "Retrieves a specific employee's leave balances using a unique employee ID",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "id": "ee863df3-c394-4102-bb91-2b14de404c1c",
        "providerName": "provider-name",
        "dateTimeUTC": "2020-03-31 05:03:47.418497",
        "httpStatusCode": "OK",
        "pagination": null,
        "problem": null,
        "leaveBalance": {
          "leaveType": "Sick",
          "balanceRemaining": 1120,
          "units": "Hours"
        }
      }
    }
  ]
}