Workday Tracking System · JSON Structure

Absence Management Time Off Response Structure

Paginated list of time off entries

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

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

Properties

total offset limit 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-time-off-response-structure.json",
  "name": "TimeOffResponse",
  "description": "Paginated list of time off entries",
  "type": "object",
  "properties": {
    "total": {
      "type": "int32"
    },
    "offset": {
      "type": "int32"
    },
    "limit": {
      "type": "int32"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "An employee time off entry",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique Workday ID of the time off entry"
          },
          "workerId": {
            "type": "string",
            "description": "Workday ID of the worker"
          },
          "timeOffType": {
            "type": "string",
            "description": "Type of time off (e.g., Vacation, Sick, Personal)"
          },
          "startDate": {
            "type": "date",
            "description": "Start date of the time off"
          },
          "endDate": {
            "type": "date",
            "description": "End date of the time off"
          },
          "hours": {
            "type": "float",
            "description": "Total hours of time off"
          },
          "days": {
            "type": "float",
            "description": "Total days of time off"
          },
          "status": {
            "type": "string",
            "description": "Approval status of the time off request",
            "enum": [
              "Draft",
              "Submitted",
              "Approved",
              "Denied",
              "Cancelled"
            ]
          },
          "comment": {
            "type": "string",
            "description": "Worker's note on the request"
          },
          "approverComment": {
            "type": "string",
            "description": "Manager's comment on approval/denial"
          },
          "createdAt": {
            "type": "datetime"
          }
        },
        "required": [
          "workerId",
          "timeOffType",
          "startDate",
          "endDate"
        ]
      }
    }
  }
}