# Get IOMO Logs

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /empeo/api/v1/biometric-scanners/logs:
    get:
      summary: Get IOMO Logs
      deprecated: false
      description: ''
      tags:
        - empeo/Core HR/Attendance
      parameters:
        - name: companyName
          in: query
          description: ชื่อบริษัท ถ้าไม่ใส่ช้อมูลจะได้ข้อมูลบริษัททั้งเครือ
          required: false
          example: โกไฟว์ จำกัด
          schema:
            type: string
        - name: dateStart
          in: query
          description: วันที่เริ่มต้น ถ้าไม่ใส่จะได้วันที่ 1 ของเดือนปัจจุบัน
          required: false
          example: '2023-07-05'
          schema:
            type: string
        - name: dateEnd
          in: query
          description: วันที่สิ้นสุด ถ้าไม่ใส่จะได้วันที่ปัจจุบัน
          required: false
          example: '2023-07-06'
          schema:
            type: string
        - name: deviceId
          in: query
          description: รหัสของอุปกรณ์ ถ้าใส่ 0 จะได้อุปกรณ์ทั้งหมด
          required: false
          example: 0
          schema:
            type: number
        - name: keyword
          in: query
          description: สำหรับค้นหาชื่ออุปกรณ์
          required: false
          example: tester
          schema:
            type: string
        - name: take
          in: query
          description: จำนวนข้อมูลที่ต้องการดึง ถ้าใส่ 0 จะได้ข้อมูลทั้งหมด
          required: false
          example: 10
          schema:
            type: number
        - name: skip
          in: query
          description: จำนวนข้อมูลที่ต้องการข้าม
          required: false
          example: 0
          schema:
            type: number
        - name: Ocp-Apim-Subscription-Key
          in: header
          description: Api subscription key get from the OpenAPI integration setting page
          required: true
          example: WPe123a9RKbcfLQNSztr45
          schema:
            type: string
        - name: Authorization
          in: header
          description: Authorization credential utilized in API requests
          required: true
          example: bearer {token}
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                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
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: empeo/Core HR/Attendance
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/351895/apis/api-4113356-run
components:
  schemas: {}
  securitySchemes:
    bearerAuth:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: ใส่ JWT Token ในรูปแบบ Bearer {token}
    bearer:
      type: bearer
      scheme: bearer
servers:
  - url: https://api.gofive.co.th
    description: Production
security:
  - bearerAuth: []
    x-apidog:
      schemeGroups:
        - id: uyL_cJmK7q60QJZRTi5ot
          schemeIds:
            - bearerAuth
      required: true
      use:
        id: uyL_cJmK7q60QJZRTi5ot
      scopes:
        uyL_cJmK7q60QJZRTi5ot:
          bearerAuth: []

```
