Skip to content

Commit

Permalink
Merge pull request #182 from maxrugen/master
Browse files Browse the repository at this point in the history
Changed wording to make the different absence endpoint's time unit clearer
  • Loading branch information
ypasmk authored Mar 13, 2024
2 parents 2bdcc56 + 1b79d02 commit dc51a9f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions personio-personnel-data-api-oa3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1712,7 +1712,7 @@ paths:
- BearerAuth: []
tags:
- Absences
description: Provides a list of absence types for absences **tracked in days and hours**. For example 'Paid vacation', 'Parental leave' or 'Home office'.
description: Provides a list of absence types for absences **time unit** set to either **days** or **hours**. For example 'Paid vacation', 'Parental leave' or 'Home office'.
parameters:
- name: limit
in: query
Expand Down Expand Up @@ -1783,7 +1783,7 @@ paths:
- BearerAuth: []
tags:
- Absences
description: Fetches absence periods for absences **tracked in days**. The result can be `paginated` and `filtered` by period and/or specific employee/employees. The result contains a list of absence periods.
description: Fetches absence periods for absences with **time unit** set to **days**. The result can be `paginated` and `filtered` by period and/or specific employee/employees. The result contains a list of absence periods.
parameters:
- name: start_date
in: query
Expand Down Expand Up @@ -1904,7 +1904,7 @@ paths:
- BearerAuth: []
tags:
- Absences
description: Adds absence data for absence types **tracked in days**.
description: Adds absence data for absence types with **time unit** set to **days**.
requestBody:
content:
application/x-www-form-urlencoded:
Expand Down Expand Up @@ -2028,7 +2028,7 @@ paths:
- BearerAuth: []
tags:
- Absences
description: Deletes absence period data for absence types **tracked in days**.
description: Deletes absence period data for absence types with **time unit** set to **days**.
parameters:
- name: id
in: path
Expand Down Expand Up @@ -2081,7 +2081,7 @@ paths:
- BearerAuth: []
tags:
- Absences
description: Gets an absence period for absences **tracked in days**.
description: Gets an absence period for absences with **time unit** set to **days**.
parameters:
- name: id
in: path
Expand Down Expand Up @@ -2167,7 +2167,7 @@ paths:
- BearerAuth: [ ]
tags:
- Absences
description: Fetches absence periods for absences **tracked in hours**. The result can be `paginated` and `filtered` by period and/or specific employee/employees. The result contains a list of hourly absence periods.
description: Fetches absence periods for absences with **time unit** set to **hours**. The result can be `paginated` and `filtered` by period and/or specific employee/employees. The result contains a list of hourly absence periods.
parameters:
- name: start_date
in: query
Expand Down Expand Up @@ -2330,7 +2330,7 @@ paths:
- BearerAuth: [ ]
tags:
- Absences
description: Adds absence data for absence types **tracked in hours**. Note that creating periods for absence types with certificate requirement enabled is not supported!
description: Adds absence data for absence types with **time unit** set to **hours**. Note that creating periods for absence types with certificate requirement enabled is not supported!
requestBody:
content:
application/x-www-form-urlencoded:
Expand Down Expand Up @@ -2477,7 +2477,7 @@ paths:
- BearerAuth: []
tags:
- Absences
description: Deletes absence period data for absence types **tracked in hours**.
description: Deletes absence period data for absence types with **time unit** set to **hours**.
parameters:
- name: id
in: path
Expand Down Expand Up @@ -4315,7 +4315,7 @@ components:
- half_day_start
- half_day_end
CreateAbsencePeriodRequest:
title: Create Absence periods **tracked in hours**
title: Create Absence periods with **time unit** set to **hours**
type: object
properties:
employee_id:
Expand Down

0 comments on commit dc51a9f

Please sign in to comment.