# Get Deal Interest

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/deals/Interest:
    get:
      summary: Get Deal Interest
      deprecated: false
      description: ''
      tags:
        - Venio/Deal
      parameters:
        - name: Ocp-Apim-Subscription-Key
          in: header
          description: ''
          required: true
          example: <Your-Subscription-Key>
          schema:
            type: string
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        topicId:
                          type: integer
                          description: Id ของความสนใจ
                        topicName:
                          type: string
                          description: ชื่อของความสนใจ
                        isActive:
                          type: boolean
                          description: |-
                            ความสนใจ(Interest) นั้นยังใช้งานอยู่หรือไม่
                            true = ใช้งานอยู่
                            false = ไม่ได้ใช้งาน
                      required:
                        - topicId
                        - topicName
                        - isActive
                      x-apidog-orders:
                        - topicId
                        - topicName
                        - isActive
                      x-apidog-ignore-properties: []
                  statusCode:
                    type: integer
                    description: |-
                      สถานะ code ของ httpเช่น
                      200 Ok
                      201 Created
                      400 BadRequest
                      401 Unauthorized
                      403 Forbidden
                      404 Record not found
                      500 Internal Server Error
                  httpStatusCode:
                    type: integer
                    description: |-
                      สถานะ code ของ httpเช่น
                      200 Ok
                      201 Created
                      400 BadRequest
                      401 Unauthorized
                      403 Forbidden
                      404 Record not found
                      500 Internal Server Error
                required:
                  - data
                  - statusCode
                  - httpStatusCode
                x-apidog-orders:
                  - data
                  - statusCode
                  - httpStatusCode
                x-apidog-ignore-properties: []
              example:
                data:
                  - topicId: 1
                    topicName: string
                    isActive: true
                  - topicId: 1
                    topicName: string
                    isActive: true
                  - topicId: 1
                    topicName: string
                    isActive: true
                  - topicId: 1
                    topicName: string
                    isActive: true
                statusCode: 0
                httpStatusCode: 0
          headers: {}
          x-apidog-name: Success
        '400':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  hasError:
                    type: boolean
                    description: |-
                      true คือ มี error เกิดขึ้น 
                      false คือ ไม่มี error เกิดขึ้น
                  errorMessages:
                    type: array
                    items:
                      type: string
                    description: สาเหตุการเกิด error
                  statusCode:
                    type: integer
                    description: |-
                      สถานะ code ของ httpเช่น
                      200 Ok
                      201 Created
                      400 BadRequest
                      401 Unauthorized
                      403 Forbidden
                      404 Record not found
                      500 Internal Server Error
                  httpStatusCode:
                    type: integer
                    description: |-
                      สถานะ code ของ httpเช่น
                      200 Ok
                      201 Created
                      400 BadRequest
                      401 Unauthorized
                      403 Forbidden
                      404 Record not found
                      500 Internal Server Error
                required:
                  - hasError
                  - errorMessages
                  - statusCode
                  - httpStatusCode
                x-apidog-orders:
                  - hasError
                  - errorMessages
                  - statusCode
                  - httpStatusCode
                x-apidog-ignore-properties: []
              example:
                hasError: true
                errorMessages:
                  - string
                statusCode: 0
                httpStatusCode: 0
          headers: {}
          x-apidog-name: Bad Request
        '401':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: integer
                    description: |-
                      สถานะ code ของ httpเช่น
                      200 Ok
                      201 Created
                      400 BadRequest
                      401 Unauthorized
                      403 Forbidden
                      404 Record not found
                      500 Internal Server Error
                  message:
                    type: string
                    description: สาเหตุการเกิด error
                required:
                  - statusCode
                  - message
                x-apidog-orders:
                  - statusCode
                  - message
                x-apidog-ignore-properties: []
              example:
                statusCode: 0
                message: string
          headers: {}
          x-apidog-name: Unauthorized
        '403':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  hasError:
                    type: boolean
                    description: |-
                      true คือ มี error เกิดขึ้น 
                      false คือ ไม่มี error เกิดขึ้น
                  errorMessages:
                    type: array
                    items:
                      type: string
                    description: สาเหตุการเกิด error
                  statusCode:
                    type: integer
                    description: |-
                      สถานะ code ของ httpเช่น
                      200 Ok
                      201 Created
                      400 BadRequest
                      401 Unauthorized
                      403 Forbidden
                      404 Record not found
                      500 Internal Server Error
                  httpStatusCode:
                    type: integer
                    description: |-
                      สถานะ code ของ httpเช่น
                      200 Ok
                      201 Created
                      400 BadRequest
                      401 Unauthorized
                      403 Forbidden
                      404 Record not found
                      500 Internal Server Error
                required:
                  - hasError
                  - errorMessages
                  - statusCode
                  - httpStatusCode
                x-apidog-orders:
                  - hasError
                  - errorMessages
                  - statusCode
                  - httpStatusCode
                x-apidog-ignore-properties: []
              example:
                hasError: true
                errorMessages:
                  - string
                statusCode: 0
                httpStatusCode: 0
          headers: {}
          x-apidog-name: Forbidden
        '500':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  hasError:
                    type: boolean
                    description: |-
                      true คือ มี error เกิดขึ้น 
                      false คือ ไม่มี error เกิดขึ้น
                  errorMessages:
                    type: array
                    items:
                      type: string
                  statusCode:
                    type: integer
                    description: |-
                      สถานะ code ของ httpเช่น
                      200 Ok
                      201 Created
                      400 BadRequest
                      401 Unauthorized
                      403 Forbidden
                      404 Record not found
                      500 Internal Server Error
                  httpStatusCode:
                    type: integer
                    description: |-
                      สถานะ code ของ httpเช่น
                      200 Ok
                      201 Created
                      400 BadRequest
                      401 Unauthorized
                      403 Forbidden
                      404 Record not found
                      500 Internal Server Error
                required:
                  - hasError
                  - errorMessages
                  - statusCode
                  - httpStatusCode
                x-apidog-orders:
                  - hasError
                  - errorMessages
                  - statusCode
                  - httpStatusCode
                x-apidog-ignore-properties: []
              example:
                hasError: true
                errorMessages:
                  - string
                statusCode: 0
                httpStatusCode: 0
          headers: {}
          x-apidog-name: Server Error
        x-200:User authentication required V2.:
          description: ''
          content:
            application/json:
              schema:
                title: ''
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Required%20authorization'
                  status:
                    $ref: '#/components/schemas/Response%20Error%20Msg%20'
                required:
                  - data
                  - status
                x-apidog-orders:
                  - data
                  - status
                x-apidog-ignore-properties: []
              example:
                data:
                  subCode: E9103
                  description: Authorization credentials required
                  metadata: {}
                status:
                  code: '4001'
                  description: Business error with 1 errors
          headers: {}
          x-apidog-name: User authentication required V2.
      security:
        - bearer: []
      x-apidog-folder: Venio/Deal
      x-apidog-status: developing
      x-run-in-apidog: https://app.apidog.com/web/project/351895/apis/api-9201911-run
components:
  schemas:
    'Response Error Msg ':
      type: object
      properties:
        code:
          type: string
          x-apidog-mock: '4001'
        description:
          type: string
          x-apidog-mock: Business error with 1 errors
      required:
        - code
        - description
      x-apidog-orders:
        - code
        - description
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Required authorization:
      type: object
      properties:
        subCode:
          type: string
          x-apidog-mock: E9103
        description:
          type: string
          x-apidog-mock: Authorization credentials required
        metadata:
          type: object
          properties: {}
          x-apidog-orders: []
          x-apidog-ignore-properties: []
      required:
        - subCode
        - description
        - metadata
      x-apidog-orders:
        - subCode
        - description
        - metadata
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes:
    bearerAuth:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: ใส่ JWT Token ในรูปแบบ Bearer {token}
    bearer:
      type: http
      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: []

```
