{
  "opencollection": "1.0.0",
  "info": {
    "name": "Workday Absence Management Accruals Work Schedules API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Work Schedules",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Work Schedule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tenant}.workday.com/api/absence-management/v1/workers/:workerId/workSchedule",
            "params": [
              {
                "name": "workerId",
                "value": "",
                "type": "path",
                "description": "The Workday ID of the worker"
              },
              {
                "name": "asOfDate",
                "value": "",
                "type": "query",
                "description": "Retrieve schedule effective as of this date (YYYY-MM-DD)"
              }
            ]
          },
          "docs": "Returns the current work schedule assignment for a worker."
        },
        {
          "info": {
            "name": "Assign Work Schedule",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{tenant}.workday.com/api/absence-management/v1/workers/:workerId/workSchedule",
            "params": [
              {
                "name": "workerId",
                "value": "",
                "type": "path",
                "description": "The Workday ID of the worker"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Imports work schedule assignments. Supports work schedule calendar assignments and assignments based on patterns specific to a worker."
        }
      ]
    }
  ],
  "bundled": true
}