Skip to content

Commit

Permalink
document dayOffTypes list endpoint
Browse files Browse the repository at this point in the history
joaoinacio committed Jan 12, 2024
1 parent bf0d3fc commit 6044fe7
Showing 3 changed files with 33 additions and 0 deletions.
16 changes: 16 additions & 0 deletions apiary.apib
Original file line number Diff line number Diff line change
@@ -1741,6 +1741,22 @@ Returns information about closing days the account
+ matches: `12` (number)


## Day Off Types [/dayOffTypes]

### dayOffTypes.list [POST /dayOffTypes.list]

Returns a list of day off types for the account

+ Request (application/json)

+ Response 200 (application/json)
+ Attributes (object)
+ `data` (array)
+ (object)
+ `id`: `39263c14-9c16-022d-8513-60cf722ab088` (string)
+ `name`: `Sick leave` (string)


# Group CRM

## Contacts [/contacts]
15 changes: 15 additions & 0 deletions src/01-general/day-off-types.apib
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Day Off Types [/dayOffTypes]

### dayOffTypes.list [POST /dayOffTypes.list]

Returns a list of day off types for the account

+ Request (application/json)

+ Response 200 (application/json)
+ Attributes (object)
+ `data` (array)
+ (object)
+ `id`: `39263c14-9c16-022d-8513-60cf722ab088` (string)
+ `name`: `Sick leave` (string)

2 changes: 2 additions & 0 deletions src/apiary.apib
Original file line number Diff line number Diff line change
@@ -35,6 +35,8 @@ HOST: https://api.focus.teamleader.eu

:[Closing Days](./01-general/closing-days.apib)

:[Day Off Types](./01-general/day-off-types.apib)

# Group CRM

:[Contacts](./02-crm/contacts.apib)

0 comments on commit 6044fe7

Please sign in to comment.