Kombo · Example Payload

Kombo Posthrisabsences Example

ATSEmbedded iPaaSHRISLMSPayrollUnified API

Kombo Posthrisabsences Example is an example object payload from Kombo, 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": "PostHrisAbsences",
  "method": "POST",
  "path": "/hris/absences",
  "summary": "Create absence",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "example1",
      "example": {
        "employee_id": "wXJMxwDvPAjrJ4CyqdV9",
        "absence_type_id": "3YKtQ7qedsrcCady1jSyAkY1",
        "start_date": "2019-09-17",
        "end_date": "2019-09-21",
        "start_time": "08:30:00",
        "end_time": "16:00:00",
        "start_half_day": false,
        "end_half_day": false,
        "employee_note": "Visiting the aliens"
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "example1",
      "example": {
        "status": "success",
        "data": {
          "id": "22st2Ji8XpncEYEak8mvQgQF",
          "remote_id": "1348",
          "employee_id": "JDdUy9kiH5APaGizFrgNmQjM",
          "approver_id": "AgXEispYPP1BbToHpqnqcpxy",
          "start_date": "2022-08-04",
          "end_date": "2022-08-05",
          "start_half_day": true,
          "end_half_day": false,
          "start_time": "13:15:00",
          "end_time": "17:00:00",
          "amount": 2,
          "unit": "DAYS",
          "status": "APPROVED",
          "employee_note": "Visiting my family.",
          "type_id": "xzZoKssDaMZAd62kxayzzQvD",
          "remote_created_at": "2022-08-07T14:01:29.196Z",
          "remote_updated_at": "2022-08-07T14:01:29.196Z",
          "changed_at": "2022-08-07T14:01:29.196Z",
          "remote_deleted_at": "2022-08-07T14:01:29.196Z",
          "remote_data": null
        },
        "warnings": [
          {
            "message": "This is an example warning!"
          }
        ]
      }
    }
  ]
}