Attendance API
β Push Attendance Data to MERCI GLOBAL ERPΒΆ
Keep your employee attendance synced and accurate β in real time! π
π§ What is This?ΒΆ
You can push data from your Attendance Machines (Proximity Card / Biometric / Other devices), Desktop Apps, or Any Software directly into the MERCI Cloud ERP.
π Key FeaturesΒΆ
- π’ Live Sync: Push attendance data in real-time to the MERCI system.
- π» Flexible Sources: Whether it's from your machine, software, or desktop β youβre covered.
- π Language Independent: Works with PHP, Ruby, .NET, Python, VB, Embedded Systems, and more.
π API EndpointΒΆ
https://devx.merciglobal.com/apis/ajax_rawpunch.php?proj=PROJ&empcode=EMPCODE&punchdate=yyyy-mm-dd&punchtime=hh:mm&inout=IN_or_OUT
π§Ύ ParametersΒΆ
Parameter | Description |
---|---|
PROJ |
πΉ Project Name |
EMPCODE |
πΉ Employee Code |
punchdate |
π
Punch Date (Format: yyyy-mm-dd ) |
punchtime |
β° Punch Time (Format: hh:mm ) |
inout |
πͺ Either IN or OUT |
π NotesΒΆ
- β The API supports both GET and POST methods.
- π§βπ» Usable in any programming language (PHP, Python, .NET, VB, etc.).
- βοΈ You can use CURL or embed it directly in hardware systems.
- π For hardware integrations, contact your hardware supplier.
- π οΈ For software help, connect with your software developer.
π§ͺ Sample CURL Code (GET Method) for program integration in any programming language.ΒΆ
$url = "https://devx.merciglobal.com/apis/ajax_rawpunch.php?proj=projectname&empcode=e002&punchdate=yyyy-mm-dd&punchtime=hh:mm&inout=IN_or_OUT";
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_POST => 0
));
$response = curl_exec($curl);
π¨οΈ βIntegrating attendance has never been easier!β β The Merci Dev Team π