Public
Documentation Settings

HAL Biometric Attendance APIs

API Token:
a16f8c5533dba3da341197d34941fc40 (https://issam.halerp.com)

Following Employees have Biometric IDs set for testing

Biometric User IDUser Name
396SHAHUL HAMEED SHAHAJUDEEN
484ABDUL MALEK
488UZZAL SIKDER SAIKDER
559Mohamed Umar
562Mohammed Ali
563Mohammed Khan
589Abdullah Abdul Khadir

POSTBiometric Form API - Add (CSV)

https://api.halerp.com/api/BiometricImportForm/UploadBiometricData?access_token=a16f8c5533dba3da341197d34941fc40

Required columns in file.csv

Date: date in dd/mm/yyyy format
User ID: Biometric ID of the Employee in the ERP
User Name: Employee Name
Punch In: Time in HH:mm format
Punch Out: Time in HH:mm format

HEADERS
Content-Type

application/json

PARAMS
access_token

a16f8c5533dba3da341197d34941fc40

Bodyformdata
file
Example Request
curl
curl --location 'https://api.halerp.com/api/BiometricImportForm/UploadBiometricData?access_token=a16f8c5533dba3da341197d34941fc40' \
--header 'Content-Type: application/json' \
--form 'file=@"/path/to/file"'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

POSTBiometric Form API - Add (JSON)

https://api.halerp.com/api/BiometricImportForm/UploadBiometricData?access_token=a16f8c5533dba3da341197d34941fc40
PARAMS
access_token

a16f8c5533dba3da341197d34941fc40

Bodyraw (json)
json
{
    "data" : [
        {
            "Date": "05/01/2021",
            "User ID" : "396",
            "User Name" : "SHAHUL HAMEED SHAHAJUDEEN",
            "Punch In" : "09:30",
            "Punch Out" : "17:30"
        },
        {
            "Date": "05/01/2021",
            "User ID" : "484",
            "User Name" : "ABDUL MALEK",
            "Punch In" : "09:30",
            "Punch Out" : "17:30"        
        }
    ]
}
Example Request
curl
curl --location 'https://api.halerp.com/api/BiometricImportForm/UploadBiometricData?access_token=a16f8c5533dba3da341197d34941fc40' \
--data '{
    "data" : [
        {
            "Date": "05/01/2021",
            "User ID" : "396",
            "User Name" : "SHAHUL HAMEED SHAHAJUDEEN",
            "Punch In" : "09:30",
            "Punch Out" : "17:30"
        },
        {
            "Date": "05/01/2021",
            "User ID" : "484",
            "User Name" : "ABDUL MALEK",
            "Punch In" : "09:30",
            "Punch Out" : "17:30"        
        }
    ]
}'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

POSTBiometric Form API - Delete

https://api.halerp.com/api/BiometricImportForm/UploadBiometricData?access_token=a16f8c5533dba3da341197d34941fc40

Where
id is the Entry Id of Biometric Import Form

HEADERS
Content-Type

application/json

PARAMS
access_token

a16f8c5533dba3da341197d34941fc40

Bodyraw
{
    "id": "103",
    "task": "delete"
}
Example Request
curl
curl --location 'https://api.halerp.com/api/BiometricImportForm/UploadBiometricData?access_token=a16f8c5533dba3da341197d34941fc40' \
--header 'Content-Type: application/json' \
--data '{
    "id": "103",
    "task": "delete"
}'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers