Xero · Example Payload

Xero Createemployeeworkingpattern Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Createemployeeworkingpattern 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": "createEmployeeWorkingPattern",
  "method": "POST",
  "path": "/Employees/{EmployeeID}/Working-Patterns",
  "summary": "Creates an employee working pattern",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "effectiveFrom": "2020-01-01 00:00:00",
        "workingWeeks": [
          {
            "monday": 0.0,
            "tuesday": 3.0,
            "wednesday": 0.0,
            "thursday": 0.0,
            "friday": 0.0,
            "saturday": 0.0,
            "sunday": 0.0
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "id": "00000000-0000-0000-0000-000000000000",
        "providerName": "provider-name",
        "dateTimeUTC": "2020-08-24 20:53:58.862462",
        "httpStatusCode": "OK",
        "pagination": null,
        "problem": null,
        "payeeWorkingPattern": {
          "payeeWorkingPatternID": "d0a325df-c9d5-4246-9e95-5172328a729b",
          "effectiveFrom": "2020-01-01 00:00:00",
          "workingWeeks": [
            {
              "monday": 0.0,
              "tuesday": 3.0,
              "wednesday": 0.0,
              "thursday": 0.0,
              "friday": 0.0,
              "saturday": 0.0,
              "sunday": 0.0
            }
          ]
        }
      }
    }
  ]
}