Skip to content

Commit

Permalink
[PAPI-2062] Add sample response to List hourly absences endpoint for …
Browse files Browse the repository at this point in the history
…providing a non-existing Absence Type Id.
  • Loading branch information
dinomite94 committed Oct 2, 2024
1 parent 7a3e609 commit c55b018
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions personio-personnel-data-api-oa3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2086,6 +2086,23 @@ paths:
problem+json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"404":
description: AbsenceType Not Found
content:
problem+json:
schema:
properties:
success:
type: boolean
example: false
error:
type: object
properties:
code:
type: integer
example: 404
message:
example: 'models.absence-types.not-found'
"500":
description: Internal server error
content:
Expand Down

0 comments on commit c55b018

Please sign in to comment.