Posted on September 24, 2025 • AVI HR Software Pvt Ltd
DEVICE API:
Device API enables client to access and monitor COSEC device directly, without installing COSEC Monitor or COSEC Server Using This API,
third party can send http request to device, then device execute and process request and return appropriate response
User Configuration:
http://192.168.1.11/device.cgi/users?action=set&user-id=3041&ref-user-id=3041&name=Himanshu1&user-active=1&enable-fr=1
User Face Enrollment:
http://192.168.1.11/device.cgi/enrolluser?action=enroll&type=7&user-id=3041
Enrollment Type:
1. Read Only Card
2. Smart Card
3. Biometric
4. Biometric Then Card
5. Mobile Device
6. Face
7. Duress Finger
Get Events from Device:
http://192.168.50.12/device.cgi/events?action=getevent&roll-over-count=0&seq-number=1&no-of-events=100&format=xml
Delete Credential:
http://192.168.1.11/device.cgi/credential?action=delete&type=2&user-id=3034
Get Card Number from One Device:
http://192.168.1.11/device.cgi/credential?action=get&type=2&user-id=3034
Set Card Number to Another Device:
http://192.168.1.12/device.cgi/users?action=set&user-id=3034&card1=856475433
http://10.0.44.30/device.cgi/users?action=set&user-id=3041&ref-user-id=3041&name=Himanshu1&user-active=1&user-pin=5431&validity-enable=1&validity-date-dd=28&validity-date-mm=12&validity-date-yyyy=2022
http://10.0.44.30/device.cgi/users?action=delete&user-id=3041
http://192.168.50.13/device.cgi/events?action=getevent&roll-over-count=1&seq-number=1&no-of-events=100&format=xml
Here’s a summary of the actions intended by these URLs: