Xero · Example Payload

Xero Getemployees Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Getemployees 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": "getEmployees",
  "method": "GET",
  "path": "/Employees",
  "summary": "Retrieves employees used in Xero payrun",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "593cbccc-5cd2-4cd2-be5e-150f0843709e",
        "Status": "OK",
        "ProviderName": "Provider Name Example",
        "DateTimeUTC": "/Date(1552325082775)/",
        "Employees": [
          {
            "EmployeeID": "972615c5-ad3d-47a0-b579-20370d374578",
            "Status": "ACTIVE",
            "FirstName": "Tony",
            "LastName": "Stark",
            "ExternalLink": {
              "Url": "http://twitter.com/#!/search/Stark+Industries",
              "Description": "Go to external link"
            },
            "UpdatedDateUTC": "/Date(1552324681593+0000)/"
          },
          {
            "EmployeeID": "ad3db144-6362-459c-8c36-5d31d196e629",
            "Status": "ACTIVE",
            "FirstName": "Bruce",
            "LastName": "Banner",
            "ExternalLink": {
              "Url": "http://twitter.com/#!/search/Nick+Fury",
              "Description": "Go to external link"
            },
            "UpdatedDateUTC": "/Date(1552325081303+0000)/"
          },
          {
            "EmployeeID": "e1ada26b-a10e-4065-a941-af34b53740e3",
            "Status": "ACTIVE",
            "FirstName": "Nick",
            "LastName": "Fury",
            "ExternalLink": {
              "Url": "http://twitter.com/#!/search/Nick+Fury",
              "Description": "Go to external link"
            },
            "UpdatedDateUTC": "/Date(1552324737990+0000)/"
          }
        ]
      }
    }
  ]
}