{
  "info": {
    "_postman_id": "ba131f6f-eb20-4c79-8034-1c04ac04fa57",
    "name": "Workday Integration Workday Absence Management Absence Types API",
    "description": "API for managing employee leave requests, absence types, and time-off balances. Retrieves eligible absence types for employees and supports validation of leave category selections.\n\nContact Support:\n Name: Workday API Support\n Email: api-support@workday.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:31:59.000Z",
    "updatedAt": "2026-07-28T03:31:59.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-ba131f6f-eb20-4c79-8034-1c04ac04fa57"
  },
  "item": [
    {
      "name": "workers",
      "item": [
        {
          "name": "{ID}",
          "item": [
            {
              "name": "eligibleAbsenceTypes",
              "item": [
                {
                  "name": "Workday Integration Retrieve eligible absence types for a worker",
                  "id": "bcbbdad0-2057-45ac-b9a8-b3274e23f204",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/workers/:ID/eligibleAbsenceTypes?limit=20&offset=0",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "workers",
                        ":ID",
                        "eligibleAbsenceTypes"
                      ],
                      "query": [
                        {
                          "description": "The maximum number of objects in a single response (default 20, maximum 100)",
                          "key": "limit",
                          "value": "20"
                        },
                        {
                          "description": "The zero-based index of the first object in a response collection",
                          "key": "offset",
                          "value": "0"
                        }
                      ],
                      "variable": [
                        {
                          "id": "c0a29e5b-5922-475a-b46b-c47b1d2af76b",
                          "key": "ID",
                          "value": "<string>",
                          "description": "(Required) The Workday ID of the resource"
                        }
                      ]
                    },
                    "description": "Returns a collection of eligible absence types for the specified worker, based on their benefits enrollment and absence plan configuration."
                  },
                  "response": [
                    {
                      "id": "c28346ef-a4e6-4934-b9c8-84e5de9af2a4",
                      "name": "Successful response with eligible absence types",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/workers/:ID/eligibleAbsenceTypes?limit=20&offset=0",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "workers",
                            ":ID",
                            "eligibleAbsenceTypes"
                          ],
                          "query": [
                            {
                              "description": "The maximum number of objects in a single response (default 20, maximum 100)",
                              "key": "limit",
                              "value": "20"
                            },
                            {
                              "description": "The zero-based index of the first object in a response collection",
                              "key": "offset",
                              "value": "0"
                            }
                          ],
                          "variable": [
                            {
                              "key": "ID"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"total\": \"<integer>\",\n  \"data\": [\n    {\n      \"id\": \"<string>\",\n      \"descriptor\": \"<string>\",\n      \"absenceTypeCategory\": {\n        \"id\": \"<string>\",\n        \"descriptor\": \"<string>\",\n        \"href\": \"<uri>\"\n      },\n      \"unit\": \"Hours\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"descriptor\": \"<string>\",\n      \"absenceTypeCategory\": {\n        \"id\": \"<string>\",\n        \"descriptor\": \"<string>\",\n        \"href\": \"<uri>\"\n      },\n      \"unit\": \"Hours\"\n    }\n  ]\n}",
                      "createdAt": "2026-07-28T03:32:00.000Z",
                      "updatedAt": "2026-07-28T03:32:00.000Z",
                      "uid": "35240-c28346ef-a4e6-4934-b9c8-84e5de9af2a4"
                    },
                    {
                      "id": "f40dea06-3904-4702-92be-02dc90643285",
                      "name": "Authentication required",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/workers/:ID/eligibleAbsenceTypes?limit=20&offset=0",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "workers",
                            ":ID",
                            "eligibleAbsenceTypes"
                          ],
                          "query": [
                            {
                              "description": "The maximum number of objects in a single response (default 20, maximum 100)",
                              "key": "limit",
                              "value": "20"
                            },
                            {
                              "description": "The zero-based index of the first object in a response collection",
                              "key": "offset",
                              "value": "0"
                            }
                          ],
                          "variable": [
                            {
                              "key": "ID"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"error\": \"<string>\",\n  \"errors\": [\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                      "createdAt": "2026-07-28T03:32:00.000Z",
                      "updatedAt": "2026-07-28T03:32:00.000Z",
                      "uid": "35240-f40dea06-3904-4702-92be-02dc90643285"
                    },
                    {
                      "id": "a10b8eeb-d723-452b-b289-086dafaca62d",
                      "name": "Insufficient permissions",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/workers/:ID/eligibleAbsenceTypes?limit=20&offset=0",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "workers",
                            ":ID",
                            "eligibleAbsenceTypes"
                          ],
                          "query": [
                            {
                              "description": "The maximum number of objects in a single response (default 20, maximum 100)",
                              "key": "limit",
                              "value": "20"
                            },
                            {
                              "description": "The zero-based index of the first object in a response collection",
                              "key": "offset",
                              "value": "0"
                            }
                          ],
                          "variable": [
                            {
                              "key": "ID"
                            }
                          ]
                        }
                      },
                      "status": "Forbidden",
                      "code": 403,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"error\": \"<string>\",\n  \"errors\": [\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                      "createdAt": "2026-07-28T03:32:00.000Z",
                      "updatedAt": "2026-07-28T03:32:00.000Z",
                      "uid": "35240-a10b8eeb-d723-452b-b289-086dafaca62d"
                    },
                    {
                      "id": "374b4521-f56e-4f6a-8bc6-62c228530d01",
                      "name": "Resource not found",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/workers/:ID/eligibleAbsenceTypes?limit=20&offset=0",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "workers",
                            ":ID",
                            "eligibleAbsenceTypes"
                          ],
                          "query": [
                            {
                              "description": "The maximum number of objects in a single response (default 20, maximum 100)",
                              "key": "limit",
                              "value": "20"
                            },
                            {
                              "description": "The zero-based index of the first object in a response collection",
                              "key": "offset",
                              "value": "0"
                            }
                          ],
                          "variable": [
                            {
                              "key": "ID"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"error\": \"<string>\",\n  \"errors\": [\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"error\": \"<string>\",\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                      "createdAt": "2026-07-28T03:32:00.000Z",
                      "updatedAt": "2026-07-28T03:32:00.000Z",
                      "uid": "35240-374b4521-f56e-4f6a-8bc6-62c228530d01"
                    }
                  ],
                  "createdAt": "2026-07-28T03:32:00.000Z",
                  "updatedAt": "2026-07-28T03:32:00.000Z",
                  "uid": "35240-bcbbdad0-2057-45ac-b9a8-b3274e23f204"
                }
              ],
              "id": "96903dfc-0d8f-4525-9bf1-6402f7921a33",
              "createdAt": "2026-07-28T03:31:59.000Z",
              "updatedAt": "2026-07-28T03:31:59.000Z",
              "uid": "35240-96903dfc-0d8f-4525-9bf1-6402f7921a33"
            }
          ],
          "id": "5ee86a7d-b4c2-4fbb-81a4-18e07a093ada",
          "createdAt": "2026-07-28T03:31:59.000Z",
          "updatedAt": "2026-07-28T03:31:59.000Z",
          "uid": "35240-5ee86a7d-b4c2-4fbb-81a4-18e07a093ada"
        }
      ],
      "id": "c4c1a799-1e30-438a-8abc-13a3f2b3131d",
      "createdAt": "2026-07-28T03:31:59.000Z",
      "updatedAt": "2026-07-28T03:31:59.000Z",
      "uid": "35240-c4c1a799-1e30-438a-8abc-13a3f2b3131d"
    }
  ],
  "auth": {
    "type": "oauth2",
    "oauth2": [
      {
        "key": "scope",
        "value": "r:absenceManagement w:absenceManagement",
        "type": "string"
      },
      {
        "key": "redirect_uri",
        "value": "https://{baseUrl}/oauth2/{tenant}/token",
        "type": "string"
      },
      {
        "key": "accessTokenUrl",
        "value": "https://{baseUrl}/oauth2/{tenant}/token",
        "type": "string"
      },
      {
        "key": "authUrl",
        "value": "https://{baseUrl}/authorize",
        "type": "string"
      },
      {
        "key": "grant_type",
        "value": "authorization_code",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "wd2-impl-services1.workday.com"
    },
    {
      "key": "tenant",
      "value": "tenant"
    }
  ]
}