Attendance Entries API
This API is used for getting the employee attendance entries.
Header:
Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Request URL
https://people.zoho.com/people/api/attendance/getAttendanceEntries?date=<date>&dateFormat=<dateformat>&erecno=<erecno>&mapId=<mapId>&emailId=<emailId>&empId=<empId>
Request Parameter
date | Specify the date in organisation date format.(Optional) |
dateFormat | Specify the response date format.(Optional) |
erecno | Specify employee erecno.(Optional) |
mapId | Specify mapper id.(Optional) |
emailId | Specify employee email id.(Optional) |
empId | Specify employee id.(Optional) |
Note:
- Date parameters should be in the same date format as used for the organization. If we have not specified a data format, it will consider the current date format.
- Specify either erecno, mapId, emailId, empId for getting subordinate details. If we didn't specify, login user details will fetch.
Threshold Limit: 100 requests | Lock period: 10 minutes
Threshold Limit - Number of API calls allowed within a minute.
Lock Period - Wait time before consecutive API requests.
Header
CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Sample Response
Copied{
"firstIn":"2023-03-03 09:00:00",
"totalHrs":"10:00",
"entries":[
{
"checkIn_Building":"-",
"checkIn":"03-Mar-2023 - 09:00 AM",
"checkOut_Location":"Delhi",
"checkOut_Building":"-",
"sourceOfPunchOut":"Web",
"checkIn_Location":"Delhi",
"checkOut":"03-Mar-2023 - 03:00 PM",
"sourceOfPunchIn":"Web"
},
{
"checkIn_Building":"-",
"checkIn":"03-Mar-2023 - 04:00 PM",
"checkOut_Location":"Delhi",
"checkOut_Building":"-",
"sourceOfPunchOut":"Web",
"checkIn_Location":"Delhi",
"checkOut":"03-Mar-2023 - 08:00 PM",
"sourceOfPunchIn":"Web"
}
],
"firstIn_Building":"-",
"lastOut_Location":"Delhi",
"lastOut":"2023-03-03 20:00:00",
"unPaidBreak":"00:00",
"allowedToCheckIn":true,
"lastOut_Building":"-",
"firstIn_Location":"Delhi",
"paidBreak":"00:00",
"status":"Present"
}