CAMS supports the Web API for the the biometric machines which can be integrated with a website or any internet web application. It provides RESTful APIs and Callback API for various operations with biometric machines. You can get the detailed information from biometric Web API.
According to CAMS, An URL should be submitted along with the machine. Once the URL is associated, whenever the attendance gets registered, the submitted URL will be called automatically. Now user can maintain the records in their database and use them for generating reports.
The URL will be called whenever a new attendance gets registered with the following parameters in POST
- stgid - service tag id, means machine id,
- userid - numerical user id
- att_time - timestamp of attendance date & time
- att_type - i/o ==> i for check in, and o for check out
The URL should return "ok" in the response once it processed the attendance record. If "ok" is not returned, the URL will be called every time again and again with the same attendance records. If the URL's web server is down, the attendance records will try to reach the URL in every 30 seconds.