Workday Tracking System · JSON Structure

Absence Management Leaves Of Absence Response Structure

Response containing leaves of absence

Type: object Properties: 2
Absence ManagementAttendanceEnterpriseHCMHuman Capital ManagementPayrollSchedulingTime TrackingTimesheetsWorkforce Management

LeavesOfAbsenceResponse is a JSON Structure definition published by Workday Tracking System, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

total data

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/workday-tracking-system/refs/heads/main/json-structure/absence-management-leaves-of-absence-response-structure.json",
  "name": "LeavesOfAbsenceResponse",
  "description": "Response containing leaves of absence",
  "type": "object",
  "properties": {
    "total": {
      "type": "int32"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "A leave of absence record",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique Workday ID of the leave record"
          },
          "workerId": {
            "type": "string",
            "description": "Workday ID of the worker"
          },
          "leaveType": {
            "type": "string",
            "description": "Type of leave (e.g., FMLA, Military, Personal)"
          },
          "startDate": {
            "type": "date",
            "description": "Leave start date"
          },
          "expectedEndDate": {
            "type": "date",
            "description": "Expected return date"
          },
          "actualReturnDate": {
            "type": "date",
            "description": "Actual date of return from leave"
          },
          "status": {
            "type": "string",
            "description": "Status of the leave",
            "enum": [
              "Pending",
              "Approved",
              "Active",
              "Completed",
              "Cancelled"
            ]
          },
          "reason": {
            "type": "string",
            "description": "Reason for the leave of absence"
          },
          "continuousOrIntermittent": {
            "type": "string",
            "description": "Whether leave is continuous or intermittent",
            "enum": [
              "Continuous",
              "Intermittent"
            ]
          }
        }
      }
    }
  }
}