API – Attendance¶
All paths are under https://api.innovanet.com. Header Authorization: Bearer inv_mcp_…. The innovanet() function is in the API chapter.
On an ordinary check-in and check-out the server sets the time. The value now in the body only says this is a punch now, not a manually entered time.
GET /api/attendance/records¶
Attendance records in a date range. Without user_id they are yours. You see other people's records only as a manager or HR, and only the people you see in the portal.
| Parameter | In query | Type | Required | Description |
|---|---|---|---|---|
date_from |
yes | date YYYY-MM-DD |
no | Default is the start of the month |
date_to |
yes | date YYYY-MM-DD |
no | Default is the end of the month |
user_id |
yes | integer | no | Master ID of the employee |
cURL
curl -sS "https://api.innovanet.com/api/attendance/records?date_from=2026-11-01&date_to=2026-11-30" \
-H "Authorization: Bearer inv_mcp_…" \
-H "Accept: application/json"
PHP
$res = innovanet('GET', '/api/attendance/records?date_from=2026-11-01&date_to=2026-11-30');
Response 200
{
"success": true,
"data": {
"records": [
{
"id": 4812,
"user_id": 15,
"date": "2026-11-05",
"checkin_time": "2026-11-05 08:02:11",
"checkout_time": null,
"notes": "práca na projekte",
"project_id": 42,
"project_name": "Web 2026",
"project_code": "W26",
"is_manual": 0
}
]
}
}
When location is on, the record also contains the check-in and check-out coordinates.
POST /api/attendance/records¶
Check-in or check-out. Send either checkin_time or checkout_time. The server writes the time.
| Field | Type | Required | Description |
|---|---|---|---|
checkin_time |
string | one of the pair | now or a date. On a punch it is not used as the clock time |
checkout_time |
string | one of the pair | check-out, likewise now |
notes |
string | no | at most 2000 characters |
project_id |
integer | no | active project |
user_id |
integer | no | HR or a manager only, a punch for someone else |
manual |
boolean | no | true = manual time, HR or a manager only, and not for yourself |
date |
date | when manual |
day of the record |
checkin_latitude, checkin_longitude |
number | according to the company | check-in location |
checkout_latitude, checkout_longitude |
number | according to the company | check-out location |
Request – check-in
{
"checkin_time": "now",
"notes": "práca na projekte",
"project_id": 42
}
cURL
curl -sS -X POST "https://api.innovanet.com/api/attendance/records" \
-H "Authorization: Bearer inv_mcp_…" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d "{\"checkin_time\":\"now\",\"notes\":\"práca na projekte\",\"project_id\":42}"
PHP
$res = innovanet('POST', '/api/attendance/records', [
'checkin_time' => 'now',
'notes' => 'práca na projekte',
'project_id' => 42,
]);
Response 201
{
"success": true,
"message": "Saved",
"data": {
"id": 4812,
"outside_geofence": false,
"geofence": null
}
}
Request – check-out
{ "checkout_time": "now" }
When there is no open check-in, the response is 422:
{
"success": false,
"error": "No open check-in to close",
"error_key": "attendance.no_open_checkin"
}
A check-in older than 16 hours is not closed by a check-out. The response has error_key attendance.checkin_too_old, record_id and date. You submit the correction through the request below.
GET /api/attendance/presence¶
Who is at work. present are checked in, away are due to work today and are not checked in yet, absent have an approved absence or a business trip.
cURL
curl -sS "https://api.innovanet.com/api/attendance/presence" \
-H "Authorization: Bearer inv_mcp_…" \
-H "Accept: application/json"
PHP
$res = innovanet('GET', '/api/attendance/presence');
Response 200
{
"success": true,
"data": {
"present": [
{
"user_id": 15,
"name": "Jana Nováková",
"status": "online",
"since": "2026-11-05 08:02:11",
"project_name": "Web 2026",
"notes": "práca na projekte"
}
],
"away": [
{ "user_id": 18, "name": "Peter Horváth", "status": "away" }
],
"absent": [
{
"user_id": 21,
"name": "Eva Kováčová",
"kind": "absence",
"reason": { "sk": "Dovolenka", "cs": "Dovolená", "en": "Vacation" },
"color": "#078769",
"until": "2026-11-07"
}
],
"total": 2,
"scope": "team"
}
}
scope is team, company or all. kind is absence or trip. Only a manager and HR receive the absence reason (reason, color). On a business trip the reason stays.
GET /api/attendance/reasons¶
Absence types. Put the id from the response into reason_id on the request.
PHP
$res = innovanet('GET', '/api/attendance/reasons');
Response 200 – data is a list of reasons (id, name, colour, whether it has no limit and whether an attachment is requested on return).
GET /api/attendance/fonds¶
Funds of the signed-in user for the year.
| Parameter | Type | Required | Description |
|---|---|---|---|
year |
integer | no | calendar year |
$res = innovanet('GET', '/api/attendance/fonds?year=2026');
GET /api/attendance/holidays¶
| Parameter | Type | Required | Description |
|---|---|---|---|
year |
integer | no | year |
country |
string | no | sk or cz. Without it, the user's legislation |
$res = innovanet('GET', '/api/attendance/holidays?year=2026&country=sk');
GET /api/attendance/projects¶
Projects you can punch on. Each item has project_id, project_name and project_code.
$res = innovanet('GET', '/api/attendance/projects');
GET /api/attendance/report¶
Monthly report.
| Parameter | Type | Required |
|---|---|---|
year |
integer | yes |
month |
integer 1–12 | yes |
user_id |
integer | no |
$res = innovanet('GET', '/api/attendance/report?year=2026&month=11');
Excel for HR: GET /api/attendance/report/export?year=2026&month=11&user_id=15 returns a file, not JSON.
POST /api/attendance/absences¶
Absence request. For another person, only HR (user_id).
| Field | Type | Required | Description |
|---|---|---|---|
reason_id |
integer | yes | from GET /api/attendance/reasons |
date_from |
datetime | yes | YYYY-MM-DD HH:MM |
date_to |
datetime | yes | the same shape, not earlier than date_from |
notes |
string | no | at most 2000 characters |
user_id |
integer | no | HR only |
Request
{
"reason_id": 1,
"date_from": "2026-11-10 00:00",
"date_to": "2026-11-12 23:59",
"notes": "rodinná dovolenka"
}
cURL
curl -sS -X POST "https://api.innovanet.com/api/attendance/absences" \
-H "Authorization: Bearer inv_mcp_…" \
-H "Content-Type: application/json" \
-d "{\"reason_id\":1,\"date_from\":\"2026-11-10 00:00\",\"date_to\":\"2026-11-12 23:59\",\"notes\":\"rodinná dovolenka\"}"
PHP
$res = innovanet('POST', '/api/attendance/absences', [
'reason_id' => 1,
'date_from' => '2026-11-10 00:00',
'date_to' => '2026-11-12 23:59',
'notes' => 'rodinná dovolenka',
]);
Response 201
{
"success": true,
"message": "Saved",
"data": { "id": 90 }
}
List: GET /api/attendance/absences?year=2026. Detail: GET /api/attendance/absences/90.
GET /api/attendance/attachments¶
Passes and attachments.
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id |
integer | no | employee |
year |
integer | no | without a year, all years |
$res = innovanet('GET', '/api/attendance/attachments?user_id=15&year=2026');
File: GET /api/attendance/absences/{id}/attachments/{attachmentId}/download returns a file.
POST /api/attendance/corrections¶
A request to correct a time. A manager or HR approves it; the record is not overwritten by itself.
| Field | Type | Required | Description |
|---|---|---|---|
date |
date | yes | day |
reason |
string | yes | at most 1000 characters |
record_id |
integer | no | existing record |
checkin_time |
datetime | no | proposed check-in |
checkout_time |
datetime | no | proposed check-out |
action |
string | no | update (default when record_id is set), create, delete |
user_id |
integer | no | a manager or HR for a subordinate |
Forgotten check-out
{
"date": "2026-11-03",
"record_id": 123,
"checkout_time": "2026-11-03 16:30",
"reason": "zabudol som sa odhlásiť"
}
Missing day
{
"date": "2026-11-04",
"action": "create",
"checkin_time": "2026-11-04 08:00",
"checkout_time": "2026-11-04 16:30",
"reason": "práca u zákazníka bez pípnutia"
}
PHP
$res = innovanet('POST', '/api/attendance/corrections', [
'date' => '2026-11-03',
'record_id' => 123,
'checkout_time' => '2026-11-03 16:30',
'reason' => 'zabudol som sa odhlásiť',
]);
Response 201
{
"success": true,
"message": "Correction request submitted",
"data": {
"id": 7,
"correction": {
"id": 7,
"user_id": 15,
"date": "2026-11-03",
"status": "pending"
}
}
}
List: GET /api/attendance/corrections?year=2026&month=11. Waiting for approval: GET /api/attendance/corrections?status=pending.
Approval (a manager or HR), with no body:
innovanet('POST', '/api/attendance/corrections/7/approve');
Decline; the comment is required:
innovanet('POST', '/api/attendance/corrections/7/decline', [
'comment' => 'podľa kamery ste odišli o 15:00',
]);
Withdrawing your own request: POST /api/attendance/corrections/7/cancel with no body. A 200 response has success: true and data: null.
Other paths¶
Each path below belongs to this module. Field names are the ones the API reads. A downloaded file is not JSON.
GET /api/attendance/employment-types¶
Parameters
| Field | Type | Required |
|---|---|---|
legislation |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/users¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/users/available¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/visible-user-ids¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/user-settings¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
POST /api/attendance/users¶
Body
| Field | Type | Required |
|---|---|---|
user_id |
integer | yes |
enabled |
boolean | no |
employment_type_id |
integer | no |
legislation |
string | no |
{
"user_id": 1,
"enabled": true,
"employment_type_id": 1,
"legislation": "text"
}
$res = innovanet('POST', '/api/attendance/users', [
'user_id' => 1,
'enabled' => true,
'employment_type_id' => 1,
'legislation' => 'text',
]);
Response 201 – Envelope { "success": true, "data": ... }.
PUT /api/attendance/users/{userId}¶
Body
| Field | Type | Required |
|---|---|---|
enabled |
boolean | yes |
employment_type_id |
integer | no |
legislation |
string | no |
{
"enabled": true,
"employment_type_id": 1,
"legislation": "text"
}
$res = innovanet('PUT', '/api/attendance/users/1', [
'enabled' => true,
'employment_type_id' => 1,
'legislation' => 'text',
]);
Response 200 – Envelope { "success": true, "data": ... }.
DELETE /api/attendance/users/{userId}¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/reasons/export¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
POST /api/attendance/reasons/import¶
Send reasons either as a reasons array in JSON or as a JSON file in the multipart file field. One is required; the reasons array takes priority. mode accepts add (default), merge or replace. Missing both returns 400; invalid mode or file contents returns 422. Attendance management permission is required.
| Field | Type | Required |
|---|---|---|
mode |
string | no |
reasons |
array | conditional |
file |
file | conditional |
Send the file as multipart/form-data. Bash example:
curl -sS -X POST "https://api.innovanet.com/api/attendance/reasons/import" -H "Authorization: Bearer inv_mcp_…" -H "Accept: application/json" -F "mode=add" -F "file=@reasons.json"
POST /api/attendance/reasons/defaults¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
PUT /api/attendance/reasons/{id}¶
Body
| Field | Type | Required |
|---|---|---|
name |
string | no |
color |
string | no |
icon |
string | no |
auto_approve |
boolean | no |
attachment |
boolean | no |
require_approval_for_management |
boolean | no |
count_unit |
string | no |
no_limit |
boolean | no |
allow_weekend |
boolean | no |
counts_as_worked |
boolean | no |
{
"name": "text",
"color": "text",
"icon": "text",
"auto_approve": true,
"attachment": true,
"require_approval_for_management": true,
"count_unit": "text",
"no_limit": true,
"allow_weekend": true,
"counts_as_worked": true
}
$res = innovanet('PUT', '/api/attendance/reasons/1', [
'name' => 'text',
'color' => 'text',
'icon' => 'text',
'auto_approve' => true,
'attachment' => true,
'require_approval_for_management' => true,
'count_unit' => 'text',
'no_limit' => true,
'allow_weekend' => true,
'counts_as_worked' => true,
]);
Response 200 – Envelope { "success": true, "data": ... }.
DELETE /api/attendance/reasons/{id}¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/absences-page¶
Parameters
| Field | Type | Required |
|---|---|---|
user_id |
string | no |
year |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
POST /api/attendance/absences/{id}/cancel-days¶
Body
| Field | Type | Required |
|---|---|---|
days |
array | yes |
description |
string | no |
{
"days": [],
"description": "text"
}
$res = innovanet('POST', '/api/attendance/absences/1/cancel-days', [
'days' => [],
'description' => 'text',
]);
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/fonds/{id}/detail¶
Parameters
| Field | Type | Required |
|---|---|---|
year |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/records/{id}¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
DELETE /api/attendance/records/{id}¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
PUT /api/attendance/records/{id}/note¶
Body
| Field | Type | Required |
|---|---|---|
notes |
string | no |
project_id |
integer | no |
{
"notes": "text",
"project_id": 1
}
$res = innovanet('PUT', '/api/attendance/records/1/note', [
'notes' => 'text',
'project_id' => 1,
]);
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/calendar¶
Parameters
| Field | Type | Required |
|---|---|---|
year |
string | no |
month |
string | no |
user_ids |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/calendar-page¶
Parameters
| Field | Type | Required |
|---|---|---|
year |
string | no |
month |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/calendar/export¶
Parameters
| Field | Type | Required |
|---|---|---|
year |
string | no |
month |
string | no |
user_ids |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/report-page¶
Parameters
| Field | Type | Required |
|---|---|---|
user_id |
string | no |
year |
string | no |
month |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/absences/export¶
Parameters
| Field | Type | Required |
|---|---|---|
year |
string | no |
month |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/settings¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
PUT /api/attendance/settings¶
Body
| Field | Type | Required |
|---|---|---|
time_counting |
string | no |
legislation |
string | no |
require_gps |
boolean | no |
show_colleagues_presence |
boolean | no |
default_approver_user_id |
integer | no |
break_after_minutes |
integer | no |
break_minutes |
integer | no |
break_auto_deduct |
boolean | no |
default_day_start |
string | no |
night_start |
string | no |
night_end |
string | no |
overtime_mode |
string | no |
meal_min_minutes |
integer | no |
geofence_mode |
string | no |
vacation_reason_id |
integer | no |
{
"time_counting": "text",
"legislation": "text",
"require_gps": true,
"show_colleagues_presence": true,
"default_approver_user_id": 1,
"break_after_minutes": 1,
"break_minutes": 1,
"break_auto_deduct": true,
"default_day_start": "text",
"night_start": "text",
"night_end": "text",
"overtime_mode": "text",
"meal_min_minutes": 1,
"geofence_mode": "text",
"vacation_reason_id": 1
}
$res = innovanet('PUT', '/api/attendance/settings', [
'time_counting' => 'text',
'legislation' => 'text',
'require_gps' => true,
'show_colleagues_presence' => true,
'default_approver_user_id' => 1,
'break_after_minutes' => 1,
'break_minutes' => 1,
'break_auto_deduct' => true,
'default_day_start' => 'text',
'night_start' => 'text',
'night_end' => 'text',
'overtime_mode' => 'text',
'meal_min_minutes' => 1,
'geofence_mode' => 'text',
'vacation_reason_id' => 1,
]);
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/shifts¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
POST /api/attendance/shifts¶
Body
| Field | Type | Required |
|---|---|---|
name |
string | yes |
code |
string | no |
start_time |
string | no |
end_time |
string | no |
break_minutes |
integer | no |
color |
string | no |
is_active |
boolean | no |
{
"name": "text",
"code": "text",
"start_time": "text",
"end_time": "text",
"break_minutes": 1,
"color": "text",
"is_active": true
}
$res = innovanet('POST', '/api/attendance/shifts', [
'name' => 'text',
'code' => 'text',
'start_time' => 'text',
'end_time' => 'text',
'break_minutes' => 1,
'color' => 'text',
'is_active' => true,
]);
Response 200 – Envelope { "success": true, "data": ... }.
PUT /api/attendance/shifts/{id}¶
Body
| Field | Type | Required |
|---|---|---|
name |
string | yes |
code |
string | no |
start_time |
string | no |
end_time |
string | no |
break_minutes |
integer | no |
color |
string | no |
is_active |
boolean | no |
{
"name": "text",
"code": "text",
"start_time": "text",
"end_time": "text",
"break_minutes": 1,
"color": "text",
"is_active": true
}
$res = innovanet('PUT', '/api/attendance/shifts/1', [
'name' => 'text',
'code' => 'text',
'start_time' => 'text',
'end_time' => 'text',
'break_minutes' => 1,
'color' => 'text',
'is_active' => true,
]);
Response 200 – Envelope { "success": true, "data": ... }.
DELETE /api/attendance/shifts/{id}¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/schedules¶
Parameters
| Field | Type | Required |
|---|---|---|
user_id |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
POST /api/attendance/schedules¶
Body
| Field | Type | Required |
|---|---|---|
user_id |
integer | yes |
valid_from |
date | yes |
cycle_start |
date | no |
pattern |
array | yes |
{
"user_id": 1,
"valid_from": "2026-11-05",
"cycle_start": "2026-11-05",
"pattern": []
}
$res = innovanet('POST', '/api/attendance/schedules', [
'user_id' => 1,
'valid_from' => 'text',
'cycle_start' => 'text',
'pattern' => [],
]);
Response 201 – Envelope { "success": true, "data": ... }.
DELETE /api/attendance/schedules/{id}¶
Parameters
| Field | Type | Required |
|---|---|---|
user_id |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/planner¶
Parameters
| Field | Type | Required |
|---|---|---|
year |
string | no |
month |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
PUT /api/attendance/planner¶
Body
| Field | Type | Required |
|---|---|---|
user_id |
integer | yes |
dates |
array | yes |
shift_id |
integer | no |
clear |
boolean | no |
note |
string | no |
{
"user_id": 1,
"dates": [],
"shift_id": 1,
"clear": true,
"note": "text"
}
$res = innovanet('PUT', '/api/attendance/planner', [
'user_id' => 1,
'dates' => [],
'shift_id' => 1,
'clear' => true,
'note' => 'text',
]);
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/closing/overview¶
Parameters
| Field | Type | Required |
|---|---|---|
year |
string | no |
month |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": { "year", "month", "rows": [...], "is_admin" } }. A row (rows[]) has user_id, name, status (open, submitted, approved), fund_minutes, worked_minutes, counted_minutes, saldo_minutes, overtime_minutes, balance_minutes and can_approve.
If an employee's profile is missing contract data (start date, contract type or weekly working hours), the row arrives with incomplete: true, the list of missing items in missing (start_date, contract_type, work_hours_per_week), all amounts 0 and can_approve: false; the month is not calculated for them. Approved months (frozen values) are not affected. Both POST /api/attendance/closing/submit and POST /api/attendance/closing/approve return 422 for such an employee.
POST /api/attendance/closing/submit¶
Body
| Field | Type | Required |
|---|---|---|
user_id |
string | no |
note |
string | no |
year |
string | no |
month |
string | no |
{
"user_id": "text",
"note": "text",
"year": "text",
"month": "text"
}
$res = innovanet('POST', '/api/attendance/closing/submit', [
'user_id' => 'text',
'note' => 'text',
'year' => 'text',
'month' => 'text',
]);
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
POST /api/attendance/closing/approve¶
Body
| Field | Type | Required |
|---|---|---|
user_ids |
string | no |
user_id |
string | no |
year |
string | no |
month |
string | no |
{
"user_ids": "text",
"user_id": "text",
"year": "text",
"month": "text"
}
$res = innovanet('POST', '/api/attendance/closing/approve', [
'user_ids' => 'text',
'user_id' => 'text',
'year' => 'text',
'month' => 'text',
]);
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
POST /api/attendance/closing/reopen¶
Body
| Field | Type | Required |
|---|---|---|
user_id |
string | no |
reason |
string | no |
year |
string | no |
month |
string | no |
{
"user_id": "text",
"reason": "text",
"year": "text",
"month": "text"
}
$res = innovanet('POST', '/api/attendance/closing/reopen', [
'user_id' => 'text',
'reason' => 'text',
'year' => 'text',
'month' => 'text',
]);
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/balance¶
Parameters
| Field | Type | Required |
|---|---|---|
year |
string | no |
month |
string | no |
user_id |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
POST /api/attendance/balance/adjustments¶
Body
| Field | Type | Required |
|---|---|---|
user_id |
integer | yes |
year |
integer | yes |
month |
integer | yes |
minutes |
integer | yes |
type |
string | yes |
note |
string | no |
{
"user_id": 1,
"year": 1,
"month": 1,
"minutes": 1,
"type": "text",
"note": "text"
}
$res = innovanet('POST', '/api/attendance/balance/adjustments', [
'user_id' => 1,
'year' => 1,
'month' => 1,
'minutes' => 1,
'type' => 'text',
'note' => 'text',
]);
Response 201 – Envelope { "success": true, "data": ... }.
DELETE /api/attendance/balance/adjustments/{id}¶
Parameters
| Field | Type | Required |
|---|---|---|
user_id |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/fonds/entitlement¶
Parameters
| Field | Type | Required |
|---|---|---|
year |
string | no |
user_id |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
POST /api/attendance/fonds/entitlement/apply¶
Body
| Field | Type | Required |
|---|---|---|
user_ids |
array | yes |
year |
integer | yes |
{
"user_ids": [],
"year": 1
}
$res = innovanet('POST', '/api/attendance/fonds/entitlement/apply', [
'user_ids' => [],
'year' => 1,
]);
Response 200 – Envelope { "success": true, "data": ... }.
PUT /api/attendance/users/{userId}/vacation¶
Body
| Field | Type | Required |
|---|---|---|
vacation_base_days |
number | no |
vacation_extended |
boolean | no |
{
"vacation_base_days": 1,
"vacation_extended": true
}
$res = innovanet('PUT', '/api/attendance/users/1/vacation', [
'vacation_base_days' => 1,
'vacation_extended' => true,
]);
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/payroll/export¶
Parameters
| Field | Type | Required |
|---|---|---|
format |
string | no |
year |
string | no |
month |
string | no |
The API reads these fields. A field is required when the table says yes.
Response – The response is a file, not JSON.
GET /api/attendance/payroll/olymp-preview¶
Parameters
| Field | Type | Required |
|---|---|---|
year |
string | no |
month |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/payroll/olymp-export¶
Parameters
| Field | Type | Required |
|---|---|---|
type |
string | no |
year |
string | no |
month |
string | no |
The API reads these fields. A field is required when the table says yes.
Response – The response is a file, not JSON.
GET /api/attendance/locations¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
POST /api/attendance/locations¶
Body
| Field | Type | Required |
|---|---|---|
name |
string | yes |
latitude |
number | yes |
longitude |
number | yes |
radius_m |
integer | yes |
is_active |
boolean | no |
{
"name": "text",
"latitude": 1,
"longitude": 1,
"radius_m": 1,
"is_active": true
}
$res = innovanet('POST', '/api/attendance/locations', [
'name' => 'text',
'latitude' => 1,
'longitude' => 1,
'radius_m' => 1,
'is_active' => true,
]);
Response 200 – Envelope { "success": true, "data": ... }.
PUT /api/attendance/locations/{id}¶
Body
| Field | Type | Required |
|---|---|---|
name |
string | yes |
latitude |
number | yes |
longitude |
number | yes |
radius_m |
integer | yes |
is_active |
boolean | no |
{
"name": "text",
"latitude": 1,
"longitude": 1,
"radius_m": 1,
"is_active": true
}
$res = innovanet('PUT', '/api/attendance/locations/1', [
'name' => 'text',
'latitude' => 1,
'longitude' => 1,
'radius_m' => 1,
'is_active' => true,
]);
Response 200 – Envelope { "success": true, "data": ... }.
DELETE /api/attendance/locations/{id}¶
No body.
Response 200 – Envelope { "success": true, "data": ... }.
GET /api/attendance/profile-summary¶
Parameters
| Field | Type | Required |
|---|---|---|
year |
string | no |
month |
string | no |
user_id |
string | no |
The API reads these fields. A field is required when the table says yes.
Response 200 – Envelope { "success": true, "data": ... }.
Want to try this feature? Start your innovanet trial →