v1
latestOpenAPI 3.0.02026-08-063939255.2 KBOut Of Office
Out of office
Handle HTTP requests regarding Customers.
get/out-off-office
Query parameters
statusinteger
7 - employees on a probationary period, 8 - current and fired employees, 9 - current employees (including employees on probation)
additional_infointeger
if set 1 display absence with hours, if not set display only date of absence
pageinteger
per_pageinteger
Headers
tokenstring required
Api token
Response
ОК
Example response
{
"result": {
"current_page": 1,
"data": [
{
"id": "Yu",
"name": "John Smith",
"email": "Employee@email.com",
"day_transfer": {
"start": [
{
"date": "2020-02-13",
"from": "18:00",
"to": "18:30",
"used_minutes": 480
}
],
"end": [
{
"date": "2020-02-13",
"from": "18:00",
"to": "18:30",
"used_minutes": 480
}
]
}
}
],
"first_page_url": "https://hurma.work/api/path?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://hurma.work/api/path?page=3",
"next_page_url": "https://hurma.work/api/path?page=2",
"path": "https://hurma.work/api/path",
"per_page": 12,
"to": 4,
"total": 4
},
"code": 200
}