# Get Name Prefixes

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /empeo/api/v1/masters/prefixes:
    get:
      summary: Get Name Prefixes
      deprecated: false
      description: ''
      tags:
        - empeo/Core HR/Employee
      parameters:
        - 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: WPe123a9RKbcfLQNSztr45
          schema:
            type: string
        - name: Authorization
          in: header
          description: Authorization credential utilized in API requests
          required: true
          example: bearer {your token}
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: integer
                  message:
                    type: string
                  error:
                    type: string
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        typeName:
                          type: string
                          description: Category name
                        typeNameEN:
                          type: string
                          description: Category name (in English)
                        masterTypes:
                          type: array
                          items:
                            type: object
                            properties:
                              typeId:
                                type: integer
                                description: Title ID for adding/updating data
                              typeName:
                                type: string
                                description: Title prefix
                              typeNameEN:
                                type: string
                                description: Title prefix (in English)
                            x-apidog-orders:
                              - typeId
                              - typeName
                              - typeNameEN
                          description: MasterType values
                      x-apidog-orders:
                        - typeName
                        - typeNameEN
                        - masterTypes
                x-apidog-orders:
                  - statusCode
                  - message
                  - error
                  - data
              example:
                statusCode: 200
                message: OK
                data:
                  typeName: คำนำหน้าชื่อ
                  typeNameEN: Title
                  masterTypes:
                    - typeId: 2
                      typeName: นาย
                      typeNameEN: Mr.
                    - typeId: 3
                      typeName: นางสาว
                      typeNameEN: Miss
                    - typeId: 4
                      typeName: นาง
                      typeNameEN: Mrs.
          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-3846577-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: []

```
