Skip to main content

Attendance

Security

Authorization

apiKeyAPI Key
Namex-access-token
Inheader

/v1/people/attendance

GET

Summary

Search attendance details.

Description

API to search attendance details.

Parameters
NameLocated inDescriptionRequiredSchema
filterqueryfilterNostring
limitquerylimitNointeger
pagequerypageNointeger
queryqueryqueryNostring
searchquerysearchNostring
searchFieldquerysearchFieldNostring
searchStringquerysearchStringNostring
sortquerysortNostring
sortDirquerysortDirNostring
userTypequeryuserTypeNostring
Responses
CodeDescriptionSchema
200Attendance details have been fetched successfully.AttendanceDetailDTO
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

POST

Summary

Save attendance punching data

Description

API to save attendance punching details.

Parameters
NameLocated inDescriptionRequiredSchema
punchDTObodypunchDTOYesPunchDTO
Responses
CodeDescriptionSchema
200OKPunchDTO
201Attendance punching data has been posted successfullyPunchDTO
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/people/attendance/bulk

POST

Summary

Save attendance punching data in bulk

Description

API to save attendance punching details.

Parameters
NameLocated inDescriptionRequiredSchema
attendanceBulkRequestDtobodyattendanceBulkRequestDtoYesAttendanceBulkRequestDto
Responses
CodeDescriptionSchema
200OKAttendanceBulkResponseDto
201Attendance punching data has been posted successfullyAttendanceBulkResponseDto
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/people/attendance/export/punchlog

POST

Summary

getAttendanceDetailsForExport

Parameters
NameLocated inDescriptionRequiredSchema
exportAttendanceDetailsWithPunchLogDTObodyexportAttendanceDetailsWithPunchLogDTOYesAttendanceAndLogExportRequestDto
Responses
CodeDescriptionSchema
200OK[ AttendanceAndPunchLogRespose ]
201Created
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/people/attendance/getAttendanceExportData

GET

Summary

getAttendanceExportData

Parameters
NameLocated inDescriptionRequiredSchema
designationquerydesignationNostring
monthquerymonthYesinteger
shift_idqueryshift_idNostring
yearqueryyearYesinteger
Responses
CodeDescriptionSchema
200OKAttendanceExportResponseDto
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/people/attendance/migrate

GET

Summary

calculate punch logs migration

Description

API to calculate punch logs migration

Responses
CodeDescription
200attendance calculated punching data has been updated successfully
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/people/attendance/proxy

POST

Summary

Save proxy attendance punching data

Description

API to save proxy attendance punching details.

Parameters
NameLocated inDescriptionRequiredSchema
punchDTObodypunchDTOYesPunchDTO
Responses
CodeDescriptionSchema
200OKPunchDTO
201Proxy attendance punching data has been posted successfullyPunchDTO
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

PUT

Summary

Updated proxy attendance punching data

Description

API to update proxy attendance punching details.

Parameters
NameLocated inDescriptionRequiredSchema
punchingUpdateDtobodypunchingUpdateDtoYesPunchingUpdateDto
Responses
CodeDescriptionSchema
200OKPunchingUpdateDto
201Proxy attendance punching data has been updated successfullyPunchingUpdateDto
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/people/attendance/proxy/bulk

PUT

Summary

Add bulk proxy attendance punching data

Description

API to add bulk proxy attendance punching details.

Parameters
NameLocated inDescriptionRequiredSchema
punchingUpdateDtobodypunchingUpdateDtoYes[ PunchingUpdateDto ]
Responses
CodeDescriptionSchema
200OKBulkAttendanceResponse
201Bulk proxy attendance punching data has been addedd successfullyBulkAttendanceResponse
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/people/attendance/self

GET

Summary

Get logged-in user attendance details.

Description

API to get logged-in user attendance details.

Parameters
NameLocated inDescriptionRequiredSchema
limitquerylimitNointeger
pagequerypageNointeger
queryqueryqueryNostring
searchquerysearchNostring
sortquerysortNostring
sortDirquerysortDirNostring
Responses
CodeDescriptionSchema
200Attendance details have been fetched successfully.AttendanceDetailDTO
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/people/attendance/shifts/payrun

POST

Summary

getAttendanceDetailsByPeriodForPayrun

Parameters
NameLocated inDescriptionRequiredSchema
employeeAttendanceRequestbodyemployeeAttendanceRequestYesEmployeeAttendanceRequest
Responses
CodeDescriptionSchema
200OKEmployeeAttendance
201Created
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/people/attendance/swagger

GET

Summary

home

Responses
CodeDescriptionSchema
200OKstring
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

/v1/people/attendance/terminate

POST

Summary

Update Terminated

Description

API to update attendance for user to terminated.

Parameters
NameLocated inDescriptionRequiredSchema
terminateAttendanceRequestDtobodyterminateAttendanceRequestDtoYesTerminateAttendanceRequestDto
Responses
CodeDescription
200Successfully updated the terminated flag
201Created
400Something went wring
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

Models

AttendanceAndLogExportRequestDto

NameTypeDescriptionRequired
designationsstringDesignations
Example: "Admin"No
iamUserIds[ long ]IamUserIdsNo
monthintegercount of month i.e. 1 = Jan
Example: 1No
yearintegerYear
Example: 2022No

AttendanceAndPunchLogRespose

NameTypeDescriptionRequired
clockInstringNo
clockOutstringNo
datedateNo
daystringNo
designationstringNo
employeeIdstringNo
iamUserIdlongNo
namestringNo
remarkstringNo
totHoursstringNo
totHoursByPunchLogstringNo
typestringNo

AttendanceBulkRequestDto

NameTypeDescriptionRequired
attendanceRecords[ AttendanceImportDetailsDto ]Attendance detailsNo
dateFormatstringDate formatNo

AttendanceBulkResponseDto

NameTypeDescriptionRequired
failed[ AttendanceImportDetailsDto ]Users attendance failed records detail dtoNo
invalid[ AttendanceImportDetailsDto ]Users attendance invalid records detail dtoNo
messagestringSuccess message
Example: "Attendance Imported successfully"No
statusstringSuccess
Example: "success"No
success[ AttendanceImportDetailsDto ]Users attendance success records detail dtoNo

AttendanceDetailDTO

NameTypeDescriptionRequired
clockIndateTimeClock-in Time
Example: "2021-08-08 09:00:00"No
clockInAddressstringaddress for punch-in
Example: "Deskera"No
clockInLatitudestringlatitude value for punch-in
Example: 103.84933902295474No
clockInLongitudestringlongitude value for punch-in
Example: 1.2798478269079867No
clockOutdateTimeClock-out Time
Example: "2021-08-08 18:00:00"No
clockOutAddressstringaddress for punch-out
Example: "Deskera"No
clockOutLatitudestringlatitude value for punch-out
Example: 103.84933902295474No
clockOutLongitudestringlongitude value for punch-out
Example: 1.2798478269079867No
designationstringIAM User Id
Example: 1234No
employeeIdstringIAM User Id
Example: 1234No
employeeNamestringIAM User Id
Example: 1234No
entryOffsetMinutesintegerEntry offset in minutes
Example: 0No
exitOffsetMinutesintegerExit offset in minutes
Example: 0No
iamUserIdlongIAM User Id
Example: 1234No
idlongAttendance Id
Example: 1No
overtimeMinutesintegerOver time in minutes
Example: 0No
punchingLogs[ PunchDTO ]punched logs
Example: "Deskera"No
shiftNamestringname of the shift
Example: "Shift 1"No
shift_idstringshift Id
Example: 1234No
totalMinutesintegerTotal time worked between Clock-in and Clock-out in minutes
Example: 450No
totalMinutesByPunchLogsintegerTotal time worked between every Punch In and Out in minutes
Example: 380No
underMinutesintegerUnder time in minutes
Example: 0No

AttendanceExportResponseDto

NameTypeDescriptionRequired
attendanceDetails[ [ string ] ]No
headers[ string ]No

AttendanceImportDetailsDto

NameTypeDescriptionRequired
consolidatedErrorstringUser does not exist
Example: "errors"No
emailstringUser's email Id
Example: "kojal01@getnada.com"No
employeeIdstringEmployeeDetails Id
Example: "0001"No
firstNamestringUser's first name
Example: "Kojak"No
lastNamestringUser's last name
Example: "Dis"No
punchDatedateTimePunch Date
Example: "05/02/2022"No
punchTimestringPunch time
Example: "09:00"No
punchTypestringPunch type
Example: "Entry"No

BulkAttendanceResponse

NameTypeDescriptionRequired
failedRecords[ PunchingUpdateDto ]No
succeedRecords[ PunchingUpdateDto ]No

EmployeeAttendance

NameTypeDescriptionRequired
employee[ EmployeeAttendanceMeta ]No
shifts[ string ]No

EmployeeAttendanceMeta

NameTypeDescriptionRequired
daysWorkednumberNo
employeeIdstringNo
hrsWorkednumberNo
iamUserIdlongNo
overtime[ OvertimeDto ]No
unpaidDaysnumberNo

EmployeeAttendanceRequest

NameTypeDescriptionRequired
fromstringFrom Date
Example: "2022-08-01"No
iamUserIds[ long ]IamUserIdsNo
payrunCalcCriteriastringPayrun Payable days setting
Example: "numberOfCalendarDaysInMonth"No
tostringTo Date
Example: "2022-08-31"No

FilterConfig

NameTypeDescriptionRequired
numberOfElementsstringNo
numberOfRecordsstringNo
pagestringNo
sizePerPagestringNo
totalPagestringNo

OvertimeDto

NameTypeDescriptionRequired
ratenumberNo
unitsnumberNo
valuenumberNo

Pageable

NameTypeDescriptionRequired
offsetlongNo
pageNumberintegerNo
pageSizeintegerNo
pagedbooleanNo
sortSortNo
unpagedbooleanNo

PageableAttendanceDetailDTO

NameTypeDescriptionRequired
attendances[ AttendanceDetailDTO ]No
filterConfigFilterConfigNo

Page«AttendanceDetailDTO»

NameTypeDescriptionRequired
content[ AttendanceDetailDTO ]No
emptybooleanNo
firstbooleanNo
lastbooleanNo
numberintegerNo
numberOfElementsintegerNo
pageablePageableNo
sizeintegerNo
sortSortNo
totalElementslongNo
totalPagesintegerNo

PunchDTO

NameTypeDescriptionRequired
addressstringaddress for punch-in
Example: "Deskera"No
allowProxyPunchbooleanAllow Admin to do proxy Punch In/Out
Example: falseNo
clockIndateTimeThis is clock in time
Example: "2021-01-01 12:00"No
iamUserIdlongNo
idlongPunch log id
Example: 1234No
isFromGridbooleanExample: falseNo
latitudestringlatitude value for punch-in
Example: 103.84933902295474No
longitudestringlongitude value for punch-in
Example: 1.2798478269079867No
punchAtdateTimeThis is punching time
Example: "2021-01-01 12:00"No
remarkstringRemark for a proxy Clock In/Out
Example: "Manually added by ADMIN"No
shiftIdstringshift Id
Example: 1234No
shiftNamestringname of the shift
Example: "Shift 1"No
typestringThis is punching type

Enum: "CLOCK_IN", "CLOCK_OUT" Example: "CLOCK_IN" | No |

PunchingResponseDto

NameTypeDescriptionRequired
addressstringaddress for punch-in
Example: "Deskera"No
clockIndateTimeClock in time
Example: "2021-01-01 12:OO"No
clockOutdateTimeClock out time
Example: "2021-01-01 12:OO"No
latitudestringlatitude value for punch-in
Example: 103.84933902295474No
longitudestringlongitude value for punch-in
Example: 1.2798478269079867No
workPeriodEndTimestringWork period end time
Example: "09:00 AM"No
workPeriodStartTimestringWork period start time
Example: "09:00 AM"No

PunchingUpdateDto

NameTypeDescriptionRequired
clockIndateTimeThis is clock in time
Example: "2021-01-01 12:00"No
clockOutdateTimeThis is clock out time
Example: "2021-01-01 12:00"No
iamUserIdlongNo
idlongNo
isFromGridbooleanNo
isPunchLogbooleanNo
remarkstringNo
typestringEnum: "CLOCK_IN", "CLOCK_OUT"No

Sort

NameTypeDescriptionRequired
emptybooleanNo
sortedbooleanNo
unsortedbooleanNo

TerminateAttendanceRequestDto

NameTypeDescriptionRequired
userIdlongNo