Xero · Example Payload

Xero Getemployeepaytemplate Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Getemployeepaytemplate 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": "getEmployeePayTemplate",
  "method": "GET",
  "path": "/Employees/{EmployeeID}/PayTemplates",
  "summary": "Retrieves a specific employee pay templates using a unique employee ID",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "id": "3138be2b-96d9-44d0-a01e-80fd527555c8",
        "providerName": "provider-name",
        "dateTimeUTC": "2020-04-17 15:10:54.446404",
        "httpStatusCode": "OK",
        "pagination": {
          "page": 1,
          "pageSize": 100,
          "pageCount": 0,
          "itemCount": 0
        },
        "problem": null,
        "payTemplate": {
          "employeeID": "aad6b292-7b94-408b-93f6-e489867e3fb0",
          "earningTemplates": [
            {
              "payTemplateEarningID": "4e2a0753-56b9-423d-8068-624473bd1c00",
              "ratePerUnit": 25,
              "numberOfUnits": 10,
              "fixedAmount": null,
              "earningsRateID": "87f5b43a-cf51-4b74-92de-94c819e82d27",
              "name": "Regular Hours"
            }
          ]
        }
      }
    }
  ]
}