---
updatedAt: 2025-06-05T21:40:42.000Z
agentTools:
  projectIndex: https://apidocs.officient.io/llms.txt
---

# List verzuim periods

Scope required: calendar:read

* The 'duration\_type' field can be either 'custom' or 'all\_day'
* The 'status' field can be either 'open', 'closed' or 'partially\_closed'
* The 'end\_date' field can be null meaning no end date is given yet

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "officient-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.officient.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/1.0/calendar/{person_id}/verzuim/{year}": {
      "get": {
        "summary": "List verzuim periods",
        "description": "",
        "operationId": "list-verzuim-periods",
        "parameters": [
          {
            "name": "person_id",
            "in": "path",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          },
          {
            "name": "year",
            "in": "path",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"data\": [\n        [\n            {\n                \"start_date\": \"2021-09-10\",\n                \"end_date\": null,\n                \"duration_type\": \"all_day\",\n                \"duration_minutes_on_first_day\": 480,\n                \"status\": \"open\"\n            }\n        ],\n        [\n            {\n                \"start_date\": \"2021-09-06\",\n                \"end_date\": \"2021-09-08\",\n                \"duration_type\": \"custom\",\n                \"duration_minutes_on_first_day\": 300,\n                \"status\": \"closed\"\n            },\n            {\n                \"start_date\": \"2021-09-03\",\n                \"end_date\": \"2021-09-05\",\n                \"duration_type\": \"all_day\",\n                \"duration_minutes_on_first_day\": 480,\n                \"status\": \"partially_closed\"\n            }\n        ]\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "start_date": {
                              "type": "string",
                              "example": "2021-09-10"
                            },
                            "end_date": {},
                            "duration_type": {
                              "type": "string",
                              "example": "all_day"
                            },
                            "duration_minutes_on_first_day": {
                              "type": "integer",
                              "example": 480,
                              "default": 0
                            },
                            "status": {
                              "type": "string",
                              "example": "open"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status_code\": 400,\n    \"reason_phrase\": \"Your account doesn't support sickness\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status_code": {
                      "type": "integer",
                      "example": 400,
                      "default": 0
                    },
                    "reason_phrase": {
                      "type": "string",
                      "example": "Your account doesn't support sickness"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```