TimeRequestsResponse

Response containing time requests

Absence ManagementAttendanceEnterpriseHCMHuman Capital ManagementPayrollSchedulingTime TrackingTimesheetsWorkforce Management

Properties

Name Type Description
total integer Total count of time requests
data array Array of time requests
View JSON Schema on GitHub

JSON Schema

time-tracking-time-requests-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/workday-tracking-system/refs/heads/main/json-schema/time-tracking-time-requests-response-schema.json",
  "title": "TimeRequestsResponse",
  "description": "Response containing time requests",
  "type": "object",
  "properties": {
    "total": {
      "type": "integer",
      "description": "Total count of time requests"
    },
    "data": {
      "type": "array",
      "description": "Array of time requests",
      "items": {
        "type": "object",
        "description": "A time request submitted by a worker",
        "properties": {
          "id": { "type": "string", "description": "Unique Workday ID of the time request" },
          "workerId": { "type": "string", "description": "Workday ID of the worker" },
          "requestDate": { "type": "string", "format": "date", "description": "Date of the time request" },
          "requestType": { "type": "string", "description": "Type of time request", "enum": ["Overtime", "AdjustmentRequest", "ScheduleChange"] },
          "status": { "type": "string", "description": "Approval status of the request", "enum": ["Draft", "Submitted", "Approved", "Denied"] },
          "comment": { "type": "string", "description": "Worker's comment on the request" },
          "approverComment": { "type": "string", "description": "Approver's comment" },
          "createdAt": { "type": "string", "format": "date-time", "description": "Timestamp of request creation", "readOnly": true }
        }
      }
    }
  }
}