{
  "opencollection": "1.0.0",
  "info": {
    "name": "Workday Payroll Input Deductions Earnings API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Earnings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Workday Payroll List Worker Earnings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.workday.com/payroll-input/v1/workers/:workerId/earnings",
            "params": [
              {
                "name": "workerId",
                "value": "w_100542",
                "type": "path",
                "description": "Unique identifier for the worker (Workday ID)"
              },
              {
                "name": "limit",
                "value": "20",
                "type": "query",
                "description": "Maximum number of results to return"
              },
              {
                "name": "offset",
                "value": "0",
                "type": "query",
                "description": "Number of results to skip for pagination"
              }
            ]
          },
          "docs": "Retrieve all earnings records for a specific worker, including regular pay, overtime, bonuses, and other earning types."
        },
        {
          "info": {
            "name": "Workday Payroll List Earning Codes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.workday.com/payroll-input/v1/earningCodes",
            "params": [
              {
                "name": "limit",
                "value": "20",
                "type": "query",
                "description": "Maximum number of results to return"
              },
              {
                "name": "offset",
                "value": "0",
                "type": "query",
                "description": "Number of results to skip for pagination"
              }
            ]
          },
          "docs": "Retrieve all configured earning codes that define types of compensation such as regular pay, overtime, and bonuses."
        }
      ]
    }
  ],
  "bundled": true
}