openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TERM_HTML_ITS_GET_TERM_LIST:
    post:
      tags:
      - STERM_DIALOG_HTML
      operationId: /rfc/TERM_HTML_ITS_GET_TERM_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMPONENT:
                  type: string
                  maxLength: 24
                  description: Application Component ID
                LANGUAGE:
                  type: string
                  maxLength: 1
                SEARCH_TERM:
                  type: string
                  maxLength: 132
                DATA_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      FCODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Function code'
                      TERM:
                        type: string
                        maxLength: 132
                        description: SAPterm Text Field
                      CONCEPT:
                        type: string
                        maxLength: 32
                        description: CHAR32 data element for SYST
              required:
              - COMPONENT
              - LANGUAGE
              - SEARCH_TERM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FIRST_CONCEPT:
                    type: string
                    maxLength: 32
                    description: CHAR32 Data Element for SYST
                  SEARCHED_TERM:
                    type: string
                    maxLength: 132
                  DATA_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        FCODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Function code'
                        TERM:
                          type: string
                          maxLength: 132
                          description: SAPterm Text Field
                        CONCEPT:
                          type: string
                          maxLength: 32
                          description: CHAR32 data element for SYST
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
