Xero · Example Payload

Xero Updateorcreateemployees Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Updateorcreateemployees 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": "updateOrCreateEmployees",
  "method": "POST",
  "path": "/Employees",
  "summary": "Creates a single new employees used in Xero payrun",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "Employees": [
          {
            "FirstName": "Nick",
            "LastName": "Fury",
            "ExternalLink": {
              "Url": "http://twitter.com/#!/search/Nick+Fury"
            }
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "0d6a08e7-6936-4828-a1bc-e4595e0ef778",
        "Status": "OK",
        "ProviderName": "Provider Name Example",
        "DateTimeUTC": "/Date(1552324736508)/",
        "Employees": [
          {
            "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(1552324736463+0000)/"
          }
        ]
      }
    }
  ]
}