{
  "opencollection": "1.0.0",
  "info": {
    "name": "Workday Absence Management Accruals Time Clock Events API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Time Clock Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Time Clock Events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tenant}.workday.com/api/absence-management/v1/workers/:workerId/timeClockEvents",
            "params": [
              {
                "name": "workerId",
                "value": "",
                "type": "path",
                "description": "The Workday ID of the worker"
              },
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "Start date for event retrieval (YYYY-MM-DD)"
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "End date for event retrieval (YYYY-MM-DD)"
              }
            ]
          },
          "docs": "Returns time clock events for a worker."
        },
        {
          "info": {
            "name": "Create Time Clock Event",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{tenant}.workday.com/api/absence-management/v1/workers/:workerId/timeClockEvents",
            "params": [
              {
                "name": "workerId",
                "value": "",
                "type": "path",
                "description": "The Workday ID of the worker"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds a time clock event from a third-party time collection system. Workday Time Tracking processes these into reported and calculated time blocks."
        }
      ]
    }
  ],
  "bundled": true
}