# Get CustomField

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /empeo/api/v1/masters/custom-fields:
    get:
      summary: Get CustomField
      deprecated: false
      description: Show details custom-field
      tags:
        - empeo/Master
      parameters:
        - name: Ocp-Apim-Subscription-Key
          in: header
          description: ''
          required: false
          example: WPe123a9RKbcfLQNSztr45
          schema:
            type: string
        - name: Authorization
          in: header
          description: ''
          required: false
          example: bearer {your token}
          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:
                        fieldName:
                          type: string
                        customFieldsType:
                          type: integer
                          enum:
                            - 'Text '
                            - 'SingleSelection '
                            - 'MultiSelection '
                            - 'DropdownList '
                            - 'DatePicker '
                            - 'Paragraph '
                          x-apidog:
                            enumDescriptions:
                              'Text ': ' 20001'
                              'SingleSelection ': ' 20002'
                              'MultiSelection ': ' 20003'
                              'DropdownList ': ' 20004'
                              'DatePicker ': ' 20005'
                              'Paragraph ': ' 20006'
                        fieldTypeName:
                          type: 'null'
                        textBoxType:
                          type: integer
                          enum:
                            - 'None '
                            - 'Letter '
                            - 'Number '
                            - 'Email '
                            - 'Custom '
                          x-apidog:
                            enumDescriptions:
                              'None ': ' 1'
                              'Letter ': ' 2'
                              'Number ': ' 3'
                              'Email ': ' 4'
                              'Custom ': ' 5'
                        textBoxTypeName:
                          type: 'null'
                        regularExpression:
                          type: string
                        options:
                          type: array
                          items:
                            type: object
                            properties:
                              sequence:
                                type: string
                              option:
                                type: string
                            required:
                              - sequence
                              - option
                            x-apidog-orders:
                              - sequence
                              - option
                          nullable: true
                      x-apidog-orders:
                        - fieldName
                        - customFieldsType
                        - fieldTypeName
                        - textBoxType
                        - textBoxTypeName
                        - regularExpression
                        - options
                x-apidog-orders:
                  - status
                  - data
              example:
                status:
                  code: '1000'
                  description: Success
                data:
                  - fieldName: Paragraph
                    customFieldsType: 20006
                    textBoxType: 2
                  - fieldName: Single Selection
                    customFieldsType: 20002
                    textBoxType: 1
                    options:
                      - sequence: '1'
                        option: Option 1
                      - sequence: '2'
                        option: Option 2
                      - sequence: '3'
                        option: Option 3
                  - fieldName: Multi Selection
                    customFieldsType: 20003
                    textBoxType: 1
                    options:
                      - sequence: '1'
                        option: Option 1
                      - sequence: '2'
                        option: Option 2
                      - sequence: '3'
                        option: Option 3
                  - fieldName: Drop down List
                    customFieldsType: 20004
                    textBoxType: 1
                    options:
                      - sequence: '1'
                        option: Option 1
                      - sequence: '2'
                        option: Option 2
                      - sequence: '3'
                        option: Option 3
                      - sequence: '4'
                        option: Option 4
                  - fieldName: Date Picker
                    customFieldsType: 20005
                    textBoxType: 1
                  - fieldName: Text - none
                    customFieldsType: 20001
                    textBoxType: 1
                  - fieldName: Text - Letter
                    customFieldsType: 20001
                    textBoxType: 2
                  - fieldName: Text - Number
                    customFieldsType: 20001
                    textBoxType: 3
                  - fieldName: Text - Email
                    customFieldsType: 20001
                    textBoxType: 4
                  - fieldName: Text - Custom
                    customFieldsType: 20001
                    textBoxType: 5
                    regularExpression: ^[a-z]$
          headers: {}
          x-apidog-name: OK
      security:
        - bearerAuth: []
          x-apidog:
            schemeGroups:
              - id: uyL_cJmK7q60QJZRTi5ot
                schemeIds:
                  - bearerAuth
            required: true
            use:
              id: uyL_cJmK7q60QJZRTi5ot
            scopes:
              uyL_cJmK7q60QJZRTi5ot:
                bearerAuth: []
      x-apidog-folder: empeo/Master
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/351895/apis/api-4847193-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: []

```
