{
  "opencollection": "1.0.0",
  "info": {
    "name": "Workday Advanced Compensation Bonus Plans Compensation Plans API",
    "version": "v41.1"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://{tenant}.workday.com/ccx/oauth2/{tenant}/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Compensation Plans",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Workday List Compensation Plans",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tenant}.workday.com/api/compensation/v1/compensationPlans",
            "params": [
              {
                "name": "limit",
                "value": "100",
                "type": "query",
                "description": "Maximum number of records to return"
              },
              {
                "name": "offset",
                "value": "0",
                "type": "query",
                "description": "Number of records to skip"
              },
              {
                "name": "planType",
                "value": "MERIT",
                "type": "query",
                "description": "Filter by compensation plan type"
              }
            ]
          },
          "docs": "Retrieves a collection of compensation plans including eligibility rules, effective dates, and plan types."
        },
        {
          "info": {
            "name": "Workday Get Compensation Plan",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tenant}.workday.com/api/compensation/v1/compensationPlans/:planId",
            "params": [
              {
                "name": "planId",
                "value": "CP-001",
                "type": "path",
                "description": "Unique identifier for the compensation plan"
              }
            ]
          },
          "docs": "Retrieves details for a specific compensation plan including eligibility criteria, budget pools, and plan components."
        }
      ]
    }
  ],
  "bundled": true
}