Description
The Push Multiple Attendance Records is a vital resource within our HRMS system, designed to handle multiple attendance records efficiently. This intelligent tool allows for the seamless integration of batches of employee punch-in moments into our HRMS system. By leveraging this API, we prioritise precision and effectiveness in managing attendance data on a larger scale. It emphasises our commitment to maintaining a smooth and synchronised flow of crucial attendance data, ensuring that the process remains professional and efficient for the optimal functioning of your workforce management.
API Endpoint
https://your_instance.uknowva.com/api.php/hrm/syncattendanceshiftwise/fetchBulkAttendanceFromAttendanceServer
Bearer Token
Please refer to the token generation documentation for generating API tokens to invoke uKnowva APIs. (Token Generation Docs)
Method Type
- POST
Mandatory fields
- biometriccode: Ensure that the biometric code parameter contains the correct employee identifier.
- logDate: The logDate parameter should be in the format YYYY-MM-DD HH:mm:ss, representing the date and time of the attendance punch.
- devicelogId (Optional): Include the unique ID of the client's DB or a description associated with each punch.
Example Request
cURL
curl --location 'http://your_instance.uknowva.com/api.php/hrm/syncattendanceshiftwise/fetchBulkAttendanceFromAttendanceServer' \
--header 'Authorization: Bearer Token' \
--form 'punches_data="[{\"biometriccode\":\"test1\",\"logDate\":\"2023-04-03 07:18:24\"},{\"biometriccode\":\"test2\",\"logDate\":\"2023-04-03 08:18:24\"}]"'
PHP Code Snippet
Response Format
- status : Indicates the overall success or failure of the request.
- payload : Contains detailed information about the operation.
- status : Represents the status of the operation.
- message : Provides a descriptive message about the outcome.
Sample Response
- Success
{
"Status":true,
"Payload":[
{
"status":true,"message":"Attendance added successfully."
},
{
"status":true,"message":"Attendance added successfully."
}
]
}
- Failure
{
"status":false,"message":"Bearer Token is not correct."
}
{
"status": false,
"message": "The given input parameters are not valid.
Please provide a valid group, plugin name and API function to execute. Please contact helpdesk@uknowva.com for technical support"
}
Sample Collection
Download Push Multiple Attendance API Collection
In case you face any problems, then please write to helpdesk@uknowva.com, our awesome support team will surely help you!