Skip to content

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 πŸ’™