# Get List Employees

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /empeo/api/v1/profiles/list:
    get:
      summary: Get List Employees
      deprecated: true
      description: ''
      tags:
        - empeo/Core HR/Employee
      parameters:
        - name: pageSize
          in: query
          description: Total number of record to be retrieved (Maximum 1000)
          required: true
          example: '10'
          schema:
            type: string
        - name: pageIndex
          in: query
          description: Start index of the record to be skipped
          required: true
          example: '0'
          schema:
            type: string
        - name: Content-Type
          in: header
          description: 'Accepted value: application/json'
          required: true
          example: application/json
          schema:
            type: string
        - name: Ocp-Apim-Subscription-Key
          in: header
          description: Api subscription key get from the OpenAPI integration setting page
          required: true
          example: XDm388h2UOxjzVPTAqhs23
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: integer
                  message:
                    type: string
                  error:
                    type: string
                  data:
                    type: object
                    properties:
                      total:
                        type: integer
                      employees:
                        type: array
                        items:
                          type: array
                          items:
                            type: object
                            properties:
                              employeeRefId:
                                type: string
                              firstName:
                                type: string
                              lastName:
                                type: string
                              firstNameEN:
                                type: string
                              lastNameEN:
                                type: string
                              nickName:
                                type: string
                              nickNameEN:
                                type: string
                              dateHired:
                                type: string
                              contact:
                                type: object
                                properties:
                                  emailAddress:
                                    type: string
                                  telephoneNo:
                                    type: string
                                required:
                                  - emailAddress
                                  - telephoneNo
                                x-apidog-orders:
                                  - emailAddress
                                  - telephoneNo
                              workingInformation:
                                type: object
                                properties:
                                  position:
                                    type: string
                                  companyId:
                                    type: integer
                                  status:
                                    type: integer
                                  typeId:
                                    type: integer
                                  type:
                                    type: string
                                  salary:
                                    type: integer
                                  managerRefId:
                                    type: string
                                  emailAddress:
                                    type: string
                                  telephoneNo:
                                    type: string
                                  imagePath:
                                    type: string
                                  organization:
                                    type: object
                                    properties:
                                      level1:
                                        type: string
                                      level2:
                                        type: string
                                      level3:
                                        type: string
                                      level4:
                                        type: string
                                      level5:
                                        type: string
                                      level6:
                                        type: string
                                    required:
                                      - level1
                                      - level2
                                      - level3
                                      - level4
                                      - level5
                                      - level6
                                    x-apidog-orders:
                                      - level1
                                      - level2
                                      - level3
                                      - level4
                                      - level5
                                      - level6
                                required:
                                  - position
                                  - companyId
                                  - status
                                  - typeId
                                  - type
                                  - salary
                                  - managerRefId
                                  - emailAddress
                                  - telephoneNo
                                  - imagePath
                                  - organization
                                x-apidog-orders:
                                  - position
                                  - companyId
                                  - status
                                  - typeId
                                  - type
                                  - salary
                                  - managerRefId
                                  - emailAddress
                                  - telephoneNo
                                  - imagePath
                                  - organization
                              information:
                                type: object
                                properties:
                                  genderId:
                                    type: integer
                                  gender:
                                    type: string
                                  address:
                                    type: string
                                  road:
                                    type: string
                                  subDistrict:
                                    type: string
                                  district:
                                    type: string
                                  province:
                                    type: string
                                  postCode:
                                    type: string
                                  mobileNo:
                                    type: string
                                  region:
                                    type: string
                                  national:
                                    type: string
                                  identificationNo:
                                    type: string
                                  height:
                                    type: integer
                                  weight:
                                    type: integer
                                  militaryStatusId:
                                    type: integer
                                  millitaryStatus:
                                    type: string
                                  maritalStatusId:
                                    type: integer
                                  maritalStatus:
                                    type: string
                                  relationships:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        relationshipTypeId:
                                          type: integer
                                        relationshipType:
                                          type: string
                                        firstName:
                                          type: string
                                        lastName:
                                          type: string
                                        contact:
                                          type: string
                                      x-apidog-orders:
                                        - relationshipTypeId
                                        - relationshipType
                                        - firstName
                                        - lastName
                                        - contact
                                required:
                                  - genderId
                                  - gender
                                  - address
                                  - road
                                  - subDistrict
                                  - district
                                  - province
                                  - postCode
                                  - mobileNo
                                  - region
                                  - national
                                  - identificationNo
                                  - height
                                  - weight
                                  - militaryStatusId
                                  - millitaryStatus
                                  - maritalStatusId
                                  - maritalStatus
                                  - relationships
                                x-apidog-orders:
                                  - genderId
                                  - gender
                                  - address
                                  - road
                                  - subDistrict
                                  - district
                                  - province
                                  - postCode
                                  - mobileNo
                                  - region
                                  - national
                                  - identificationNo
                                  - height
                                  - weight
                                  - militaryStatusId
                                  - millitaryStatus
                                  - maritalStatusId
                                  - maritalStatus
                                  - relationships
                              educations:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    sequence:
                                      type: integer
                                    institution:
                                      type: string
                                    major:
                                      type: string
                                    degreeId:
                                      type: integer
                                    degree:
                                      type: string
                                    fromYear:
                                      type: integer
                                    toYear:
                                      type: integer
                                  x-apidog-orders:
                                    - sequence
                                    - institution
                                    - major
                                    - degreeId
                                    - degree
                                    - fromYear
                                    - toYear
                              workExperiences:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    company:
                                      type: string
                                    dateFrom:
                                      type: string
                                    dateTo:
                                      type: string
                                    position:
                                      type: string
                                    jobDescription:
                                      type: string
                                    salary:
                                      type: integer
                                    resignationReasonId:
                                      type: string
                                    resignationReason:
                                      type: string
                                  x-apidog-orders:
                                    - company
                                    - dateFrom
                                    - dateTo
                                    - position
                                    - jobDescription
                                    - salary
                                    - resignationReasonId
                                    - resignationReason
                            x-apidog-orders:
                              - employeeRefId
                              - firstName
                              - lastName
                              - firstNameEN
                              - lastNameEN
                              - nickName
                              - nickNameEN
                              - dateHired
                              - contact
                              - workingInformation
                              - information
                              - educations
                              - workExperiences
                    required:
                      - total
                      - employees
                    x-apidog-orders:
                      - total
                      - employees
                required:
                  - statusCode
                  - message
                  - error
                  - data
                x-apidog-orders:
                  - statusCode
                  - message
                  - error
                  - data
          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: deprecated
      x-run-in-apidog: https://app.apidog.com/web/project/351895/apis/api-3730278-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: []

```
