# Get TimeStamp Attachments

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /empeo/api/v1/timestamps/attachments:
    get:
      summary: Get TimeStamp Attachments
      deprecated: false
      description: ''
      tags:
        - empeo/Core HR/Attendance
      parameters:
        - name: employeeRefId
          in: query
          description: รหัสพนักงาน ถ้าไม่ใส่จะได้พนักงานทั้งหมด
          required: false
          example: '80100'
          schema:
            type: string
        - name: dateStart
          in: query
          description: 'วันที่เริ่มต้น '
          required: true
          example: '2023-01-01'
          schema:
            type: string
        - name: dateEnd
          in: query
          description: วันที่สิ้นสุด ถ้าไม่ใส่จะได้วันที่ปัจจุบัน
          required: false
          example: '2023-01-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: Authorization
          in: header
          description: ''
          required: true
          example: >-
            Bearer
            eyJhbGciOiJSUzI1NiIsImtpZCI6IkIwN0I2RTQ3QTU1MzkxOTdDQ0Y2NzlDNTVEODFFNDQ1RTE2NUQ2QkVSUzI1NiIsInR5cCI6ImF0K2p3dCIsIng1dCI6InNIdHVSNlZUa1pmTTlubkZYWUhrUmVGbDFyNCJ9.eyJuYmYiOjE2OTUxNDg5MjYsImV4cCI6MTY5NTE1MjUyNiwiaXNzIjoiaHR0cHM6Ly9sb2dpbi5nb2ZpdmUuY28udGgiLCJhdWQiOiJJTUMuQVBJIiwiY2xpZW50X2lkIjoiMjE1YzBlZWYtN2E5My00NDI3LWI2MzItZDhkNTFjZDIyYjNjIiwic3ViIjoie0VFQTJDRDk0LTA1QjItNDQ4Qi05ODI5LThBOTMwMEY5Q0REQX0iLCJqdGkiOiJCQkU4NTc1MDE5NjQ4MDFFMEFFRTJGRjgwREJCQjYzMyIsInNpZCI6IjYzRkI4M0E5OUVGNkY3NUQ4OUFDQjc5MDIwRDc5MUI3IiwiaWF0IjoxNjk1MTQ4OTI2LCJzY29wZSI6WyJJTUMuQVBJIl19.syFytKOmY1_T8aRd1HLgtIyd2cRvunh4KBM4v-zh9t-i3blM_f5EgcLNxq5MYAwsdNbtRRWJM159dlwDZknRkN7a8EBjPexRPYNiMDXPPJV960Ox_A10nO-1ZPtcn5jnKNCaOf1ly_4Iq61_fz7mQ3lExlsBKHWzbm7ruLO99NIcsAl1qNK64nO7h6tPV6VKn0rOh4M8JxNlirYuRW9xGash9Y67xwrAefAe6XE-7cD3pzijr9Nl4ucY3HLzCuvc4PTszMggEhs-BYgAQjm1PBvJ7e0qc1gpwtHx2XbeJr1nu09avIuF_LxpBEv_xNzrOCOvxxLfKZcAJBF4fV-AAg
          schema:
            type: string
        - name: Ocp-Apim-Subscription-Key
          in: header
          description: ''
          required: true
          example: ec0ea872f33649bc9f3e138292ba5ad3
          schema:
            type: string
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: Cookie
          in: header
          description: ''
          required: true
          example: x-DeviceId=D5AA13F9DA5CF5E025CA3A1A1343FE0A
          schema:
            type: string
      requestBody:
        content:
          text/plain:
            schema:
              type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                status:
                  code: '1000'
                  description: Success
                data:
                  - employeeRefId: '63000'
                    fullName: อมรพงศ์ จีรทวีกิจ
                    date: '2023-01-19T00:00:00'
                    time: '15:36:00'
                    workinStatus: workin
                    attachmentNo: 1
                    attachmentFilename: test
                    attachmentURL: >-
                      https://api.myempeo.com/api/Service/GenerateAttachmentUrl/?path=Tenant/c0852922-c44b-4919-9ea7-540ef22fd4fa/Workin/6413/c0f251da-d304-42e5-ad45-19696ecb2f69.jpg&type=image/jpg&encryptionKey=p9wApi2Lq2uJuD2rrGpY129TOp1PX3+Cpxe764KlTYY=
                  - employeeRefId: '63000'
                    fullName: อมรพงศ์ จีรทวีกิจ
                    date: '2023-01-19T00:00:00'
                    time: '15:36:00'
                    workinStatus: workin
                    attachmentNo: 2
                    attachmentFilename: test
                    attachmentURL: >-
                      https://api.myempeo.com/api/Service/GenerateAttachmentUrl/?path=Tenant/c0852922-c44b-4919-9ea7-540ef22fd4fa/Workin/6413/356f11e6-ab5e-4032-82de-9ed2f62c95bd.jpg&type=image/jpg&encryptionKey=p9wApi2Lq2uJuD2rrGpY129TOp1PX3+Cpxe764KlTYY=
                  - employeeRefId: '63000'
                    fullName: อมรพงศ์ จีรทวีกิจ
                    date: '2023-01-19T00:00:00'
                    time: '15:36:00'
                    workinStatus: workin
                    attachmentNo: 3
                    attachmentFilename: test
                    attachmentURL: >-
                      https://api.myempeo.com/api/Service/GenerateAttachmentUrl/?path=Tenant/c0852922-c44b-4919-9ea7-540ef22fd4fa/Workin/6413/6fa27fa8-3ae0-4c62-aaf1-5222e68ab2f9.jpg&type=image/jpg&encryptionKey=p9wApi2Lq2uJuD2rrGpY129TOp1PX3+Cpxe764KlTYY=
                  - employeeRefId: '63000'
                    fullName: อมรพงศ์ จีรทวีกิจ
                    date: '2023-01-19T00:00:00'
                    time: '15:36:00'
                    workinStatus: workin
                    attachmentNo: 4
                    attachmentFilename: test
                    attachmentURL: >-
                      https://api.myempeo.com/api/Service/GenerateAttachmentUrl/?path=Tenant/c0852922-c44b-4919-9ea7-540ef22fd4fa/Workin/6413/5b44ddd9-60f9-4a64-9098-6fe8091fb069.jpg&type=image/jpg&encryptionKey=p9wApi2Lq2uJuD2rrGpY129TOp1PX3+Cpxe764KlTYY=
                  - employeeRefId: '63000'
                    fullName: อมรพงศ์ จีรทวีกิจ
                    date: '2023-01-19T00:00:00'
                    time: '15:53:00'
                    workinStatus: workin
                    attachmentNo: 1
                    attachmentFilename: test
                    attachmentURL: >-
                      https://api.myempeo.com/api/Service/GenerateAttachmentUrl/?path=Tenant/c0852922-c44b-4919-9ea7-540ef22fd4fa/Workin/6413/03ec3601-4d28-4831-9f42-2fb398bc661c.jpg&type=image/jpg&encryptionKey=p9wApi2Lq2uJuD2rrGpY129TOp1PX3+Cpxe764KlTYY=
                  - employeeRefId: '63000'
                    fullName: อมรพงศ์ จีรทวีกิจ
                    date: '2023-01-23T00:00:00'
                    time: '13:25:00'
                    workinStatus: workin
                    attachmentNo: 1
                    attachmentFilename: test
                    attachmentURL: >-
                      https://api.myempeo.com/api/Service/GenerateAttachmentUrl/?path=Tenant/c0852922-c44b-4919-9ea7-540ef22fd4fa/Workin/6413/e8ae1117-fe66-4f63-ad24-88dfb617ca9f.jpg&type=image/jpg&encryptionKey=p9wApi2Lq2uJuD2rrGpY129TOp1PX3+Cpxe764KlTYY=
                  - employeeRefId: '63000'
                    fullName: อมรพงศ์ จีรทวีกิจ
                    date: '2023-01-23T00:00:00'
                    time: '13:59:00'
                    workinStatus: workin
                    attachmentNo: 1
                    attachmentFilename: test
                    attachmentURL: >-
                      https://api.myempeo.com/api/Service/GenerateAttachmentUrl/?path=Tenant/c0852922-c44b-4919-9ea7-540ef22fd4fa/Workin/6413/ac2036d8-96c2-456b-9084-4965319dfe5a.jpg&type=image/jpg&encryptionKey=p9wApi2Lq2uJuD2rrGpY129TOp1PX3+Cpxe764KlTYY=
                  - employeeRefId: '63000'
                    fullName: อมรพงศ์ จีรทวีกิจ
                    date: '2023-01-23T00:00:00'
                    time: '14:00:00'
                    workinStatus: workin
                    attachmentNo: 1
                    attachmentFilename: test
                    attachmentURL: >-
                      https://api.myempeo.com/api/Service/GenerateAttachmentUrl/?path=Tenant/c0852922-c44b-4919-9ea7-540ef22fd4fa/Workin/6413/9189b403-5330-466a-a9d4-8da927205144.jpg&type=image/jpg&encryptionKey=p9wApi2Lq2uJuD2rrGpY129TOp1PX3+Cpxe764KlTYY=
                  - employeeRefId: '63000'
                    fullName: อมรพงศ์ จีรทวีกิจ
                    date: '2023-01-23T00:00:00'
                    time: '14:00:00'
                    workinStatus: workin
                    attachmentNo: 2
                    attachmentFilename: test
                    attachmentURL: >-
                      https://api.myempeo.com/api/Service/GenerateAttachmentUrl/?path=Tenant/c0852922-c44b-4919-9ea7-540ef22fd4fa/Workin/6413/b2dbf202-7e24-41c7-8bfc-620126d33c70.jpg&type=image/jpg&encryptionKey=p9wApi2Lq2uJuD2rrGpY129TOp1PX3+Cpxe764KlTYY=
                  - employeeRefId: '63000'
                    fullName: อมรพงศ์ จีรทวีกิจ
                    date: '2023-01-23T00:00:00'
                    time: '14:00:00'
                    workinStatus: workin
                    attachmentNo: 3
                    attachmentFilename: test
                    attachmentURL: >-
                      https://api.myempeo.com/api/Service/GenerateAttachmentUrl/?path=Tenant/c0852922-c44b-4919-9ea7-540ef22fd4fa/Workin/6413/9b3217f1-26ab-47d2-81ec-f90e32416746.jpg&type=image/jpg&encryptionKey=p9wApi2Lq2uJuD2rrGpY129TOp1PX3+Cpxe764KlTYY=
          headers: {}
          x-apidog-name: Success
      security:
        - bearerAuth: []
          x-apidog:
            schemeGroups:
              - id: uyL_cJmK7q60QJZRTi5ot
                schemeIds:
                  - bearerAuth
            required: true
            use:
              id: uyL_cJmK7q60QJZRTi5ot
            scopes:
              uyL_cJmK7q60QJZRTi5ot:
                bearerAuth: []
      x-apidog-folder: empeo/Core HR/Attendance
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/351895/apis/api-4254803-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: []

```
