Skip to content

Attendance

Attendance schema

id integer?
Attendance ID - cannot be null in PUT/PATCH methods
📶 EQUALS,ENUM 🔽 NONE

_branchId integer
Branch ID
📶 EQUALS,ENUM 🔽 NONE

_cloudId integer
Cloud ID
🔽 NONE

_employeeId long
Employee ID
📶 EQUALS,ENUM 🔽 NONE

created timestamp?
Attendance created date and time
📶 EQUALS, ENUM, NUMBER 🔽 BOTH

event enum
Attendance event, one of: LOGIN, LOGOUT, CHECK_IN, CHECK_OUT, PAUSE, PAUSE_END
📶 EQUALS, ENUM 🔽 NONE

versionDate timestamp?
Last modification date and time
📶 EQUALS, ENUM, NUMBER 🔽 BOTH

Attendance response

{
    "_cloudId": <integer>,
    "_branchId": <integer>,
    "_employeeId": <long>,
    "created": <timestamp>,
    "event": <enum>,
    "id": <long>,
    "versionDate": <timestamp>
}

Get filtered and sorted list of attendances

GET https://api.dotykacka.cz/v2/clouds/:cloudId/attendances

Path Parameters

Name Type Description
cloudId* integer

Query Parameters

Name Type Description
page integer
limit integer
filter string
sort string

Headers

Name Type Description
If-None-Match string ETag to return results only if changed.
Authorization* string Bearer accessToken

{
    // Response
}
{
    // Response
}

Get single attendance

GET https://api.dotykacka.cz/v2/clouds/:cloudId/attendances/:attendanceId

Path Parameters

Name Type Description
cloudId* integer
attendanceId* long

Headers

Name Type Description
If-None-Match string Add ETag to return results only if changed.
Authorization* string Bearer accessToken

{
    // Response
}
{
    // Response
}

See the General section for more information.