{
  "info": {
    "_postman_id": "37443523-8a46-4e4f-b347-eeef98d527d0",
    "name": "Workday Integration Workday Absence Management Absence Types Balances 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:32:09.000Z",
    "updatedAt": "2026-07-28T03:32:09.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-37443523-8a46-4e4f-b347-eeef98d527d0"
  },
  "item": [
    {
      "name": "balances",
      "item": [
        {
          "name": "{ID}",
          "item": [
            {
              "name": "Workday Integration Retrieve an absence plan balance",
              "id": "eaa87770-1d64-4fc3-bdf0-25f0b5c5fe6a",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/balances/:ID",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "balances",
                    ":ID"
                  ],
                  "variable": [
                    {
                      "id": "4bf3946a-7ec8-47cf-a30d-c65d8e0cb3b1",
                      "key": "ID",
                      "value": "<string>",
                      "description": "(Required) The Workday ID of the resource"
                    }
                  ]
                },
                "description": "Returns the specified balance of all absence plan and leave of absence types."
              },
              "response": [
                {
                  "id": "58c3dc1c-eb6d-4bea-8bdf-76f306d1d013",
                  "name": "Successful response with the absence balance",
                  "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}}/balances/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "balances",
                        ":ID"
                      ],
                      "variable": [
                        {
                          "key": "ID"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"id\": \"<string>\",\n  \"descriptor\": \"<string>\",\n  \"worker\": {\n    \"id\": \"<string>\",\n    \"descriptor\": \"<string>\",\n    \"href\": \"<uri>\"\n  },\n  \"absencePlan\": {\n    \"id\": \"<string>\",\n    \"descriptor\": \"<string>\",\n    \"href\": \"<uri>\"\n  },\n  \"balance\": \"<number>\",\n  \"unit\": \"<string>\",\n  \"asOfDate\": \"<date>\"\n}",
                  "createdAt": "2026-07-28T03:32:09.000Z",
                  "updatedAt": "2026-07-28T03:32:09.000Z",
                  "uid": "35240-58c3dc1c-eb6d-4bea-8bdf-76f306d1d013"
                },
                {
                  "id": "3af73095-8fb0-4f72-b1f8-f319d422d0ae",
                  "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}}/balances/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "balances",
                        ":ID"
                      ],
                      "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:09.000Z",
                  "updatedAt": "2026-07-28T03:32:09.000Z",
                  "uid": "35240-3af73095-8fb0-4f72-b1f8-f319d422d0ae"
                },
                {
                  "id": "513920ec-9773-44f3-882f-bfb655de9ad2",
                  "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}}/balances/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "balances",
                        ":ID"
                      ],
                      "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:09.000Z",
                  "updatedAt": "2026-07-28T03:32:09.000Z",
                  "uid": "35240-513920ec-9773-44f3-882f-bfb655de9ad2"
                },
                {
                  "id": "1d6b15e0-5e7d-4885-b608-6bd930f4cc9e",
                  "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}}/balances/:ID",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "balances",
                        ":ID"
                      ],
                      "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:09.000Z",
                  "updatedAt": "2026-07-28T03:32:09.000Z",
                  "uid": "35240-1d6b15e0-5e7d-4885-b608-6bd930f4cc9e"
                }
              ],
              "createdAt": "2026-07-28T03:32:09.000Z",
              "updatedAt": "2026-07-28T03:32:09.000Z",
              "uid": "35240-eaa87770-1d64-4fc3-bdf0-25f0b5c5fe6a"
            }
          ],
          "id": "6c06d9c9-33fb-47a2-9e1b-73150d3b6ee4",
          "createdAt": "2026-07-28T03:32:09.000Z",
          "updatedAt": "2026-07-28T03:32:09.000Z",
          "uid": "35240-6c06d9c9-33fb-47a2-9e1b-73150d3b6ee4"
        }
      ],
      "id": "36a36bcc-1be7-48c6-af4e-fd79090b2380",
      "createdAt": "2026-07-28T03:32:09.000Z",
      "updatedAt": "2026-07-28T03:32:09.000Z",
      "uid": "35240-36a36bcc-1be7-48c6-af4e-fd79090b2380"
    }
  ],
  "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"
    }
  ]
}