Gofive OpenAPI
empeo
VenioeTaxGo
empeo
VenioeTaxGo
  1. Attendance
  • Authentication
    • Authorization
      POST
  • Master
    • Get Organizations
      GET
    • Get CustomField
      GET
    • Get Holiday
      GET
    • Get MasterSetup
      GET
    • Get Overtimes
      GET
  • Recruitment
    • Get Candidate
      GET
  • Core HR
    • Attendance
      • Get Time Attendance
        GET
      • Workin
        POST
      • Get Employee WorkIn Site
        GET
      • Get Timestamps
        GET
      • Get TimeStamp Attachments
        GET
      • Get Workin Sites
        GET
      • Get IOMO Logs
        GET
      • Add Timestamps
        POST
    • Asset
      • Get Asset list
      • Update Asset
      • Get Employee Assets
    • Employee
      • Get Employee
      • Update Employee
      • Get Employees List
      • Get Mastertypes List
      • Get Name Prefixes
      • Get Document Types
      • Update Employee
      • Add Employee Attachment
      • Update Employee Address
      • Update Employee Family
      • Update Employee Contact
      • Update Employee Education
      • Update Employee Experience
      • Update Employee CustomField
      • Delete Employee
      • Get Employee Role
      • Get Employee Movement Lists
    • Leave
      • Get Employee Documents
    • Shifts
      • Get Shift Details
      • Update Employee Shifts
      • Get Employee Shifts
      • Swap Employee Shifts
    • Timesheet
      • Search Projects
      • Search Tasks
      • Create Timesheet Entry
  • Payroll
    • Get Financial Transactions
      POST
    • Update Financial Transactions
      PUT
    • Create Loan
      POST
    • Get Cost Center
      POST
  • Welfare
    • Shuttle Buses
    • Passengers
  • Goals
    • Update KPI
  • Engagement
    • Achievement
      • Get Employee Achievements
      • Create Achievement Card
      • Create Achievement Award Document
      • Get Achievement Events
    • Praise
      • Get Employee Praises
      • Get Praise Types
      • Create Praise Reward Manager
    • StampCard
      • Get Stamp Cards
      • Get Stamp Card Detail
      • Add Stamp
    • Celebration
      • Get Upcoming Celebrations
  • Overtime
    • Get Overtimes Preriods
    • Get Overtimes Documents
  • Employee
    • User Info
    • Update Employee Information
  1. Attendance

Get IOMO Logs

GET
https://api.gofive.co.th/empeo/api/v1/biometric-scanners/logs
ดึง log คำสั่งของเครื่องสแกน
ดึงรายการคำสั่งที่ระบบส่งไปยังเครื่องสแกนลงเวลา พร้อมเวลาที่สั่ง เวลาที่ส่งถึงเครื่อง เวลาที่เครื่องตอบกลับ
และค่าที่เครื่องคืนมา ทุก parameter เป็นตัวกรองและไม่บังคับ
ต้องส่ง dateStart และ dateEnd มาคู่กันเสมอ — ส่งมาเพียงตัวเดียวจะได้ผลลัพธ์ว่าง (204)
เพราะเงื่อนไขช่วงวันที่ฝั่งฐานข้อมูลใช้ BETWEEN ที่ต้องมีทั้งสองค่า ไม่ส่งทั้งคู่ = ไม่กรองวันที่
ช่วงวันที่ย้อนหลังถูกจำกัดตามแพ็กเกจของ tenant: ถ้าแพ็กเกจกำหนดจำนวนวันย้อนหลังไว้ ระบบจะขยับ dateStart
ขึ้นมาเท่าที่อนุญาต และถ้าช่วงที่ขอทั้งช่วงเก่ากว่าที่อนุญาต จะได้ 204 (ไม่ใช่ error) — ส่วน dateEnd
ที่เป็นอนาคตจะถูกลดลงมาเป็นวันปัจจุบัน
ค่าเริ่มต้นของการแบ่งหน้า: take = 0 หมายถึงเอาทุกรายการ (ไม่จำกัด) ซึ่งเป็นค่าที่ใช้เมื่อไม่ส่งมา
และ skip = 0 ผลลัพธ์เรียงตาม DeviceId แล้วตาม CommitTime จากใหม่ไปเก่า
employeeRefId ไม่มีผลกับ endpoint นี้ — log เป็นระดับเครื่อง ไม่ได้ผูกกับพนักงาน
ต้องมีสิทธิ์ใช้ Open API หมวดเวลาทำงาน (Time)

Request

Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.gofive.co.th/empeo/api/v1/biometric-scanners/logs?deviceId=0&companyName=%E0%B9%82%E0%B8%81%E0%B9%84%E0%B8%9F%E0%B8%A7%E0%B9%8C%20%E0%B8%88%E0%B8%B3%E0%B8%81%E0%B8%B1%E0%B8%94&companyId=12&keyword=tester&dateStart=2023-07-05&dateEnd=2023-07-06&skip=0&take=10' \
--header 'Ocp-Apim-Subscription-Key: WPe123a9RKbcfLQNSztr45' \
--header 'Authorization: Bearer <token>'

Responses

🟢200OK
application/json
สำเร็จ — Data คือรายการ log คำสั่งที่ตรงตัวกรอง
Bodyapplication/json

Examples
{
    "status": {
        "code": "1000",
        "description": "Success"
    },
    "data": [
        {
            "content": "DATA UPDATE AccUnLockComb UID=1\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:18:24.903",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 951,
            "deviceName": "Biometric Scan",
            "deviceName_EN": "Biometric Scan",
            "serialNo": "empeo-Test-Dev",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=2\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:18:24.903",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 951,
            "deviceName": "Biometric Scan",
            "deviceName_EN": "Biometric Scan",
            "serialNo": "empeo-Test-Dev",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=3\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:18:24.903",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 951,
            "deviceName": "Biometric Scan",
            "deviceName_EN": "Biometric Scan",
            "serialNo": "empeo-Test-Dev",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=4\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:18:24.903",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 951,
            "deviceName": "Biometric Scan",
            "deviceName_EN": "Biometric Scan",
            "serialNo": "empeo-Test-Dev",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=5\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:18:24.903",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 951,
            "deviceName": "Biometric Scan",
            "deviceName_EN": "Biometric Scan",
            "serialNo": "empeo-Test-Dev",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=6\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:18:24.903",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 951,
            "deviceName": "Biometric Scan",
            "deviceName_EN": "Biometric Scan",
            "serialNo": "empeo-Test-Dev",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=7\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:18:24.903",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 951,
            "deviceName": "Biometric Scan",
            "deviceName_EN": "Biometric Scan",
            "serialNo": "empeo-Test-Dev",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=8\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:18:24.903",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 951,
            "deviceName": "Biometric Scan",
            "deviceName_EN": "Biometric Scan",
            "serialNo": "empeo-Test-Dev",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=9\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:18:24.903",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 951,
            "deviceName": "Biometric Scan",
            "deviceName_EN": "Biometric Scan",
            "serialNo": "empeo-Test-Dev",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=10\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:18:24.903",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 951,
            "deviceName": "Biometric Scan",
            "deviceName_EN": "Biometric Scan",
            "serialNo": "empeo-Test-Dev",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE USERINFO PIN=23043\tName=DD\tPri=0\tPasswd=\tCard=\tGrp=0\tTZ=0",
            "commitTime": "2023-07-05T11:45:58.91",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1012,
            "deviceName": "2020",
            "deviceName_EN": "2020",
            "serialNo": "20202",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE USERINFO PIN=23043\tName=DD\tPri=0\tPasswd=\tCard=\tGrp=0\tTZ=0",
            "commitTime": "2023-07-05T11:45:58.91",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1022,
            "deviceName": "test",
            "deviceName_EN": "test",
            "serialNo": "53453453",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE USERINFO PIN=23043\tName=DD\tPri=0\tPasswd=\tCard=\tGrp=0\tTZ=0",
            "commitTime": "2023-07-05T11:45:58.91",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1023,
            "deviceName": "testtest",
            "deviceName_EN": "testtest",
            "serialNo": "53453453455",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE USERINFO PIN=23043\tName=DD\tPri=0\tPasswd=\tCard=\tGrp=0\tTZ=0",
            "commitTime": "2023-07-05T11:45:58.91",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1024,
            "deviceName": "test toast",
            "deviceName_EN": "test toast",
            "serialNo": "46564645645",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=1\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:49:37.127",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1025,
            "deviceName": "test",
            "deviceName_EN": "test",
            "serialNo": "re3525254545",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=2\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:49:37.127",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1025,
            "deviceName": "test",
            "deviceName_EN": "test",
            "serialNo": "re3525254545",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=3\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:49:37.127",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1025,
            "deviceName": "test",
            "deviceName_EN": "test",
            "serialNo": "re3525254545",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=4\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:49:37.127",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1025,
            "deviceName": "test",
            "deviceName_EN": "test",
            "serialNo": "re3525254545",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=5\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:49:37.127",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1025,
            "deviceName": "test",
            "deviceName_EN": "test",
            "serialNo": "re3525254545",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=6\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:49:37.127",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1025,
            "deviceName": "test",
            "deviceName_EN": "test",
            "serialNo": "re3525254545",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=7\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:49:37.127",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1025,
            "deviceName": "test",
            "deviceName_EN": "test",
            "serialNo": "re3525254545",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=8\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:49:37.127",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1025,
            "deviceName": "test",
            "deviceName_EN": "test",
            "serialNo": "re3525254545",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=9\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:49:37.127",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1025,
            "deviceName": "test",
            "deviceName_EN": "test",
            "serialNo": "re3525254545",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE AccUnLockComb UID=10\tGroup1=1\tGroup2=0\tGroup3=0\tGroup4=0\tGroup5=0",
            "commitTime": "2023-07-05T14:49:37.127",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1025,
            "deviceName": "test",
            "deviceName_EN": "test",
            "serialNo": "re3525254545",
            "ipAddress": null,
            "port": 0
        },
        {
            "content": "DATA UPDATE USERINFO PIN=23043\tName=DD\tPri=0\tPasswd=\tCard=\tGrp=0\tTZ=0",
            "commitTime": "2023-07-05T11:45:58.91",
            "transTime": "0001-01-01T00:00:00",
            "responseTime": "0001-01-01T00:00:00",
            "returnValue": null,
            "deviceId": 1025,
            "deviceName": "test",
            "deviceName_EN": "test",
            "serialNo": "re3525254545",
            "ipAddress": null,
            "port": 0
        }
    ]
}
🟢204No Content
🟠401Unauthorized
🟠403Forbidden
🟠429
🔴500Server Error
Modified at 2026-08-17 17:12:44
Previous
Get Workin Sites
Next
Add Timestamps
Built with