# Get Time Attendances Lite

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /empeo/api/v1/time-attendances/lite:
    get:
      summary: Get Time Attendances Lite
      deprecated: false
      description: ''
      tags:
        - empeo/Core HR/Attendance
      parameters:
        - name: employeeRefId
          in: query
          description: รหัสพนักงาน ถ้าไม่ใส่จะได้พนักงานทั้งหมด
          required: false
          example: '63000'
          schema:
            type: string
        - name: dateStart
          in: query
          description: วันที่เริ่มต้น ถ้าไม่ใส่จะได้วันที่ 1 ของเดือนปัจจุบัน
          required: false
          example: '2024-01-01'
          schema:
            type: string
        - name: dateEnd
          in: query
          description: วันที่สิ้นสุด ถ้าไม่ใส่จะได้วันที่ปัจจุบัน
          required: false
          example: '2024-03-31'
          schema:
            type: string
        - name: companyName
          in: query
          description: ชื่อบริษัท ถ้าไม่ใส่ช้อมูลจะได้ข้อมูลบริษัททั้งเครือ
          required: false
          example: เอมพริโอ้ จำกัด
          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: d4e1bcfbb8bb4c1585fd86eb5d3957d8
          schema:
            type: string
        - name: Authorization
          in: header
          description: Authorization credential utilized in API requests
          required: true
          example: >-
            Bearer
            eyJhbGciOiJSUzI1NiIsImtpZCI6IkIwN0I2RTQ3QTU1MzkxOTdDQ0Y2NzlDNTVEODFFNDQ1RTE2NUQ2QkVSUzI1NiIsInR5cCI6ImF0K2p3dCIsIng1dCI6InNIdHVSNlZUa1pmTTlubkZYWUhrUmVGbDFyNCJ9.eyJuYmYiOjE3MTQ3MTYwNjgsImV4cCI6MTcxNDcxOTY2OCwiaXNzIjoiaHR0cHM6Ly9sb2dpbi5nb2ZpdmUuY28udGgiLCJhdWQiOiJJTUMuQVBJIiwiY2xpZW50X2lkIjoiMjE1YzBlZWYtN2E5My00NDI3LWI2MzItZDhkNTFjZDIyYjNjIiwic3ViIjoie0VFQTJDRDk0LTA1QjItNDQ4Qi05ODI5LThBOTMwMEY5Q0REQX0iLCJqdGkiOiI1QzYyMjM3RTVDOTUxOTgyN0EzMkFDRTZBQkQxMTJFMCIsInNpZCI6IjYzRkI4M0E5OUVGNkY3NUQ4OUFDQjc5MDIwRDc5MUI3IiwiaWF0IjoxNzE0NzE2MDY4LCJzY29wZSI6WyJJTUMuQVBJIl19.Lx3v7oSBT13NM9irHFBtjtcldc6_rzRZs9aZcVg99q7ORe8y7ozVRlOJge3qu6uxxvMqjDdsDbQhxCC_uOC3qY2vF98IotTwLD298q37iT0F1hSLsvSMfVuJgGBmMxp459c7pSbdCU9a3C566ps78ljfkJbE7gKKhgYBTek1K0kVqqwOxkOdYl9xWNFUnz380L_1gWoWW8ZQP1igPlKDb1pqxavilTWZ-1wQNdmdKh17AGxoWQsQNKBzrIPfwdjwtylkQDR2Zar9fzGNRgPNM2tFUw3kPazNQiV4CpQmNisiQfeDKtZCyW0h8kpxXjOBw0ZT4H5t8zA5PL0sNaodBw
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: object
                    properties:
                      code:
                        type: string
                      description:
                        type: string
                    required:
                      - code
                      - description
                    x-apidog-orders:
                      - code
                      - description
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        employeeRefId:
                          type: string
                        fullName:
                          type: string
                        date:
                          type: string
                        shiftName:
                          type: string
                        attendanceStatus:
                          type: string
                        minStampIn:
                          type: 'null'
                        maxStampOut:
                          type: 'null'
                        workTime:
                          type: integer
                        late:
                          type: integer
                        early:
                          type: integer
                        absence:
                          type: integer
                        isAdjustTime:
                          type: boolean
                        breakTimeLate:
                          type: integer
                        shiftDateStart:
                          type: string
                        shiftDateEnd:
                          type: string
                        breakTimeStart:
                          type: string
                        breakTimeEnd:
                          type: string
                        workdayType:
                          type: string
                      required:
                        - employeeRefId
                        - fullName
                        - date
                        - shiftName
                        - attendanceStatus
                        - minStampIn
                        - maxStampOut
                        - workTime
                        - late
                        - early
                        - absence
                        - isAdjustTime
                        - breakTimeLate
                        - shiftDateStart
                        - shiftDateEnd
                        - breakTimeStart
                        - breakTimeEnd
                        - workdayType
                      x-apidog-orders:
                        - employeeRefId
                        - fullName
                        - date
                        - shiftName
                        - attendanceStatus
                        - minStampIn
                        - maxStampOut
                        - workTime
                        - late
                        - early
                        - absence
                        - isAdjustTime
                        - breakTimeLate
                        - shiftDateStart
                        - shiftDateEnd
                        - breakTimeStart
                        - breakTimeEnd
                        - workdayType
                required:
                  - status
                  - data
                x-apidog-orders:
                  - status
                  - data
              example:
                status:
                  code: '1000'
                  description: Success
                data:
                  - employeeRefId: '80100'
                    fullName: นวมินทร์ อินทรบุตร (คิดถึงนะจ๊ะ)
                    date: '2023-07-01T00:00:00'
                    shiftName: สำนักงาน 08.30-18.00  (1 SAT) ชั่วโมงตามกะการทำงาน
                    attendanceStatus: ขาดงาน
                    minStampIn: null
                    maxStampOut: null
                    workTime: 0
                    late: 0
                    early: 0
                    absence: 300
                    isAdjustTime: false
                    breakTimeLate: 0
                    shiftDateStart: '2023-07-01T09:00:00'
                    shiftDateEnd: '2023-07-01T15:00:00'
                    breakTimeStart: '2023-07-01T12:00:00'
                    breakTimeEnd: '2023-07-01T13:00:00'
                    workdayType: วันทำงาน
                  - employeeRefId: '80100'
                    fullName: นวมินทร์ อินทรบุตร (คิดถึงนะจ๊ะ)
                    date: '2023-07-02T00:00:00'
                    shiftName: สำนักงาน 08.30-18.00  (1 SAT) ชั่วโมงตามกะการทำงาน
                    attendanceStatus: วันหยุด
                    minStampIn: null
                    maxStampOut: null
                    workTime: 0
                    late: 0
                    early: 0
                    absence: 0
                    isAdjustTime: false
                    breakTimeLate: 0
                    shiftDateStart: '2023-07-02T08:00:00'
                    shiftDateEnd: '2023-07-02T18:00:00'
                    breakTimeStart: '2023-07-02T12:00:00'
                    breakTimeEnd: '2023-07-02T13:00:00'
                    workdayType: วันหยุดสุดสัปดาห์
                  - employeeRefId: '80100'
                    fullName: นวมินทร์ อินทรบุตร (คิดถึงนะจ๊ะ)
                    date: '2023-07-03T00:00:00'
                    shiftName: สำนักงาน 08.30-18.00  (1 SAT) ชั่วโมงตามกะการทำงาน
                    attendanceStatus: ขาดงาน
                    minStampIn: null
                    maxStampOut: null
                    workTime: 0
                    late: 0
                    early: 0
                    absence: 540
                    isAdjustTime: false
                    breakTimeLate: 0
                    shiftDateStart: '2023-07-03T08:00:00'
                    shiftDateEnd: '2023-07-03T18:00:00'
                    breakTimeStart: '2023-07-03T12:00:00'
                    breakTimeEnd: '2023-07-03T13:00:00'
                    workdayType: วันทำงาน
                  - employeeRefId: '80100'
                    fullName: นวมินทร์ อินทรบุตร (คิดถึงนะจ๊ะ)
                    date: '2023-07-04T00:00:00'
                    shiftName: สำนักงาน 08.30-18.00  (1 SAT) ชั่วโมงตามกะการทำงาน
                    attendanceStatus: ขาดงาน
                    minStampIn: null
                    maxStampOut: null
                    workTime: 0
                    late: 0
                    early: 0
                    absence: 540
                    isAdjustTime: false
                    breakTimeLate: 0
                    shiftDateStart: '2023-07-04T08:00:00'
                    shiftDateEnd: '2023-07-04T18:00:00'
                    breakTimeStart: '2023-07-04T12:00:00'
                    breakTimeEnd: '2023-07-04T13:00:00'
                    workdayType: วันทำงาน
                  - employeeRefId: '80100'
                    fullName: นวมินทร์ อินทรบุตร (คิดถึงนะจ๊ะ)
                    date: '2023-07-05T00:00:00'
                    shiftName: สำนักงาน 08.30-18.00  (1 SAT) ชั่วโมงตามกะการทำงาน
                    attendanceStatus: ขาดงาน
                    minStampIn: null
                    maxStampOut: null
                    workTime: 0
                    late: 0
                    early: 0
                    absence: 540
                    isAdjustTime: false
                    breakTimeLate: 0
                    shiftDateStart: '2023-07-05T08:00:00'
                    shiftDateEnd: '2023-07-05T18:00:00'
                    breakTimeStart: '2023-07-05T12:00:00'
                    breakTimeEnd: '2023-07-05T13:00:00'
                    workdayType: วันทำงาน
                  - employeeRefId: '80100'
                    fullName: นวมินทร์ อินทรบุตร (คิดถึงนะจ๊ะ)
                    date: '2023-07-06T00:00:00'
                    shiftName: สำนักงาน 08.30-18.00  (1 SAT) ชั่วโมงตามกะการทำงาน
                    attendanceStatus: ขาดงาน
                    minStampIn: null
                    maxStampOut: null
                    workTime: 0
                    late: 0
                    early: 0
                    absence: 540
                    isAdjustTime: false
                    breakTimeLate: 0
                    shiftDateStart: '2023-07-06T08:00:00'
                    shiftDateEnd: '2023-07-06T18:00:00'
                    breakTimeStart: '2023-07-06T12:00:00'
                    breakTimeEnd: '2023-07-06T13:00:00'
                    workdayType: วันทำงาน
                  - employeeRefId: '80100'
                    fullName: นวมินทร์ อินทรบุตร (คิดถึงนะจ๊ะ)
                    date: '2023-07-07T00:00:00'
                    shiftName: สำนักงาน 08.30-18.00  (1 SAT) ชั่วโมงตามกะการทำงาน
                    attendanceStatus: ขาดงาน
                    minStampIn: null
                    maxStampOut: null
                    workTime: 0
                    late: 0
                    early: 0
                    absence: 480
                    isAdjustTime: false
                    breakTimeLate: 0
                    shiftDateStart: '2023-07-07T09:00:00'
                    shiftDateEnd: '2023-07-07T18:00:00'
                    breakTimeStart: '2023-07-07T12:00:00'
                    breakTimeEnd: '2023-07-07T13:00:00'
                    workdayType: วันหยุดนักขัตฤกษ์
                  - employeeRefId: '80100'
                    fullName: นวมินทร์ อินทรบุตร (คิดถึงนะจ๊ะ)
                    date: '2023-07-08T00:00:00'
                    shiftName: สำนักงาน 08.30-18.00  (1 SAT) ชั่วโมงตามกะการทำงาน
                    attendanceStatus: ขาดงาน
                    minStampIn: null
                    maxStampOut: null
                    workTime: 0
                    late: 0
                    early: 0
                    absence: 300
                    isAdjustTime: false
                    breakTimeLate: 0
                    shiftDateStart: '2023-07-08T09:00:00'
                    shiftDateEnd: '2023-07-08T15:00:00'
                    breakTimeStart: '2023-07-08T12:00:00'
                    breakTimeEnd: '2023-07-08T13:00:00'
                    workdayType: วันทำงาน
                  - employeeRefId: '80100'
                    fullName: นวมินทร์ อินทรบุตร (คิดถึงนะจ๊ะ)
                    date: '2023-07-09T00:00:00'
                    shiftName: สำนักงาน 08.30-18.00  (1 SAT) ชั่วโมงตามกะการทำงาน
                    attendanceStatus: วันหยุด
                    minStampIn: null
                    maxStampOut: null
                    workTime: 0
                    late: 0
                    early: 0
                    absence: 0
                    isAdjustTime: false
                    breakTimeLate: 0
                    shiftDateStart: '2023-07-09T08:00:00'
                    shiftDateEnd: '2023-07-09T18:00:00'
                    breakTimeStart: '2023-07-09T12:00:00'
                    breakTimeEnd: '2023-07-09T13:00:00'
                    workdayType: วันหยุดสุดสัปดาห์
                  - employeeRefId: '80100'
                    fullName: นวมินทร์ อินทรบุตร (คิดถึงนะจ๊ะ)
                    date: '2023-07-10T00:00:00'
                    shiftName: สำนักงาน 08.30-18.00  (1 SAT) ชั่วโมงตามกะการทำงาน
                    attendanceStatus: ขาดงาน
                    minStampIn: null
                    maxStampOut: null
                    workTime: 0
                    late: 0
                    early: 0
                    absence: 540
                    isAdjustTime: false
                    breakTimeLate: 0
                    shiftDateStart: '2023-07-10T08:00:00'
                    shiftDateEnd: '2023-07-10T18:00:00'
                    breakTimeStart: '2023-07-10T12:00:00'
                    breakTimeEnd: '2023-07-10T13:00:00'
                    workdayType: วันทำงาน
          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-4092839-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: []

```
