{
  "info": {
    "_postman_id": "cc59626c-50a4-4449-b852-9985d4337a60",
    "name": "HR Partner REST Absences Leave Balances API",
    "description": "HR Partner is a cloud-based human resources management SaaS platform from HR Partner Software Pty Ltd (Australia), aimed at organizations of roughly 20 to 500 employees. This OpenAPI describes the public HR Partner REST API exposed at https://api.hrpartner.io, covering company information, employee records and sub-modules (contacts, addresses, notes, education, skills, training, assets, benefits, dependents, grievances, positions, renewables, attachments), leave management (requests, balances, absences), timesheets and projects, expenses, recruitment (job listings, applicants, applications, application-stage tracking, interviews), performance (reviews, goals), checklists, reminders, document library, and lookups. Authentication is via API key passed in the x-api-key header.\n\nContact Support:\n Name: HR Partner Developer\n Email: developer@hrpartner.io",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:57:31.000Z",
    "updatedAt": "2026-07-28T01:57:31.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-cc59626c-50a4-4449-b852-9985d4337a60"
  },
  "item": [
    {
      "name": "leave-balances",
      "item": [
        {
          "name": "List Leave Balances",
          "id": "dafe7cc7-357a-4d80-a99d-bcb240782b42",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/leave-balances?employee=<string>&department=<string>&leave_type=<string>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "leave-balances"
              ],
              "query": [
                {
                  "key": "employee",
                  "value": "<string>"
                },
                {
                  "key": "department",
                  "value": "<string>"
                },
                {
                  "key": "leave_type",
                  "value": "<string>"
                }
              ]
            },
            "description": "List employee leave entitlement balances and accruals."
          },
          "response": [
            {
              "id": "e782e485-8c92-4913-9240-e157c2b12510",
              "name": "List of leave balances.",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "x-api-key",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/leave-balances?employee=<string>&department=<string>&leave_type=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "leave-balances"
                  ],
                  "query": [
                    {
                      "key": "employee",
                      "value": "<string>"
                    },
                    {
                      "key": "department",
                      "value": "<string>"
                    },
                    {
                      "key": "leave_type",
                      "value": "<string>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "[\n  {\n    \"id\": \"<string>\",\n    \"leave_type\": \"<string>\",\n    \"balance\": \"<number>\",\n    \"accrued\": \"<number>\",\n    \"taken\": \"<number>\",\n    \"pending\": \"<number>\",\n    \"employee\": {\n      \"code\": \"<string>\",\n      \"first_names\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"full_name\": \"<string>\",\n      \"department\": \"<string>\"\n    }\n  },\n  {\n    \"id\": \"<string>\",\n    \"leave_type\": \"<string>\",\n    \"balance\": \"<number>\",\n    \"accrued\": \"<number>\",\n    \"taken\": \"<number>\",\n    \"pending\": \"<number>\",\n    \"employee\": {\n      \"code\": \"<string>\",\n      \"first_names\": \"<string>\",\n      \"last_name\": \"<string>\",\n      \"full_name\": \"<string>\",\n      \"department\": \"<string>\"\n    }\n  }\n]",
              "createdAt": "2026-07-28T01:57:32.000Z",
              "updatedAt": "2026-07-28T01:57:32.000Z",
              "uid": "35240-e782e485-8c92-4913-9240-e157c2b12510"
            }
          ],
          "createdAt": "2026-07-28T01:57:32.000Z",
          "updatedAt": "2026-07-28T01:57:32.000Z",
          "uid": "35240-dafe7cc7-357a-4d80-a99d-bcb240782b42"
        }
      ],
      "id": "feec5249-ff08-4b40-af14-bb8f6926f41d",
      "createdAt": "2026-07-28T01:57:32.000Z",
      "updatedAt": "2026-07-28T01:57:32.000Z",
      "uid": "35240-feec5249-ff08-4b40-af14-bb8f6926f41d"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "x-api-key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.hrpartner.io"
    }
  ]
}