# Get Employee Movement Lists

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /empeo/api/v1/employee-movement/lists:
    get:
      summary: Get Employee Movement Lists
      deprecated: false
      description: Get employee Movement Lists by Company Name and EmployeeNo
      tags:
        - empeo/Core HR/Employee
      parameters:
        - name: companyName
          in: query
          description: ''
          required: true
          example: Love Gofive
          schema:
            type: string
        - name: employeeNo
          in: query
          description: ''
          required: true
          example: '24008'
          schema:
            type: string
        - name: movementTypeId
          in: query
          description: ''
          required: false
          example: 0
          schema:
            type: integer
            enum:
              - 1001
              - 1002
              - 1003
              - 1004
              - 1005
              - 1006
              - 1007
              - 1008
              - 1009
              - 1010
              - 1011
              - 1012
              - 1013
              - 1014
              - 0
            x-apidog-enum:
              - value: 1001
                name: StartWorking
                description: เริ่มงาน
              - value: 1002
                name: CompanyTransfer
                description: โอนย้ายบริษัท
              - value: 1003
                name: DepartmentTransfer
                description: โอนย้ายหน่วยงาน
              - value: 1004
                name: Promotion
                description: เลื่อนตำแหน่ง
              - value: 1005
                name: SalaryAdjustment
                description: ปรับเงินเดือน
              - value: 1006
                name: EmploymentConditionChange
                description: เปลี่ยนแปลงสภาพการจ้าง
              - value: 1007
                name: Appoint
                description: แต่งตั้ง
              - value: 1008
                name: Separation
                description: พ้นสภาพ
              - value: 1009
                name: Unresign
                description: ยกเลิกพ้นสภาพ
              - value: 1010
                name: Rehire
                description: รับกลับเข้าทำงานใหม่
              - value: 1011
                name: PermanentEmployment
                description: บรรจุ
              - value: 1012
                name: SupervisorReassignment
                description: ย้ายสายบังคับบัญชา
              - value: 1013
                name: MassTransfer
                description: โอนย้ายทั้งสังกัด
              - value: 1014
                name: ContractRenewal
                description: ต่อสัญญาจ้าง
              - value: 0
                name: All
                description: เลือกทั้งหมด
            format: int32
            default: 0
        - name: authorization
          in: header
          description: ''
          required: true
          example: >-
            Bearer
            eyJhbGciOiJSUzI1NiIsImtpZCI6IkIwN0I2RTQ3QT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content-type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: pragma
          in: header
          description: ''
          required: true
          example: no-cache
          schema:
            type: string
        - name: priority
          in: header
          description: ''
          required: true
          example: u=1, i
          schema:
            type: string
      requestBody:
        content:
          text/plain:
            schema:
              type: string
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                statusCode: 200
                message: OK
                data:
                  - documentNo: M250100008
                    movementType: โอนย้ายบริษัท
                    dateEffective: '2025-01-01'
                    remark: ''
                    employeeNo: '24008'
                    employeeName: แอดมิน โกไฟว์
                    description: บริษัทรักโกไฟว์ที่สุด → บริษัทรักโกไฟว์
                    dateCreated: '2025-01-23T17:12:13.88'
                    createdBy: แอดมิน โกไฟว์
                  - documentNo: M250100007
                    movementType: โอนย้ายบริษัท
                    dateEffective: '2024-11-21'
                    remark: null
                    employeeNo: '24008'
                    employeeName: แอดมิน โกไฟว์
                    description: บริษัทรักโกไฟว์ → บริษัทรักโกไฟว์ที่สุด
                    dateCreated: '2025-01-16T13:43:23.977'
                    createdBy: แอดมิน โกไฟว์
                  - documentNo: M240800003
                    movementType: โอนย้ายหน่วยงาน
                    dateEffective: '2024-08-20'
                    remark: '5241521'
                    employeeNo: '24008'
                    employeeName: แอดมิน โกไฟว์
                    description: บริหาร → เทคโนโลยีสารสนเทศ
                    dateCreated: '2024-08-20T18:01:38.317'
                    createdBy: แอดมิน โกไฟว์
                  - documentNo: null
                    movementType: เริ่มงาน
                    dateEffective: '2023-12-01'
                    remark: null
                    employeeNo: '24008'
                    employeeName: แอดมิน โกไฟว์
                    description: null
                    dateCreated: '2024-04-25T07:54:11.13'
                    createdBy: adminUat empeo
                  - documentNo: null
                    movementType: บรรจุ
                    dateEffective: '2023-12-01'
                    remark: null
                    employeeNo: '24008'
                    employeeName: แอดมิน โกไฟว์
                    description: null
                    dateCreated: '2024-04-25T07:54:11.13'
                    createdBy: adminUat empeo
          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/Employee
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/351895/apis/api-8412298-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: []

```
