openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_ARW_GET_SIMILAR_CLASSES:
    post:
      tags:
      - TREX_ARW_TM
      summary: Get class features
      operationId: /rfc/TREX_ARW_GET_SIMILAR_CLASSES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLASSIFY_ATTR:
                  type: string
                  format: byte
                  description: Classification attribute
                DOC_SEL_QUERY:
                  type: string
                  format: byte
                  description: DocumentSelectionQuery
                INDEXSERVER_LOCATION:
                  type: string
                  format: byte
                  description: Host:Port
                INDEX_ID:
                  type: string
                  format: byte
                  description: Index Id
                LANGUAGE:
                  type: string
                  format: byte
                  description: Language
                MAX_RESULTS:
                  type: integer
                  format: int64
                  description: Maximum number of results
                RFC_DESTINATION:
                  type: string
                  format: byte
                  description: RFC Destination
                THRESHOLD:
                  type: integer
                  format: int64
                  description: numc Feld
                USE_KEYWORDS:
                  type: string
                  format: byte
                  description: Use keywords
                RESULT_CONTAINER:
                  type: array
                  items:
                    type: object
                    properties:
                      CONT_KEY:
                        type: string
                        format: byte
                        description: ''
                      CONT_COUNTER:
                        type: integer
                        format: int64
                        description: ''
                      WEIGHT:
                        type: integer
                        format: int64
                        description: ''
                      ERROR_CODE:
                        type: integer
                        format: int64
                        description: ''
                      ERROR_TEXT:
                        type: string
                        format: byte
                        description: ''
                RESULT_ELEM:
                  type: array
                  items:
                    type: object
                    properties:
                      CONT_COUNTER:
                        type: integer
                        format: int64
                        description: ''
                      NAME:
                        type: string
                        format: byte
                        description: ''
                      RANK_VALUE:
                        type: integer
                        format: int64
                        description: ''
                      CLASSI_TYPE:
                        type: integer
                        format: int64
                        description: ''
                      ELEM_COUNTER:
                        type: integer
                        format: int64
                        description: ''
                SEARCH_CLASS:
                  type: array
                  items:
                    type: object
                    properties:
                      SEARCH_CLASS:
                        type: string
                        format: byte
                        description: ''
              required:
              - INDEX_ID
              - RFC_DESTINATION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Returncode
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Returntext
                  RESULT_CONTAINER:
                    type: array
                    items:
                      type: object
                      properties:
                        CONT_KEY:
                          type: string
                          format: byte
                          description: ''
                        CONT_COUNTER:
                          type: integer
                          format: int64
                          description: ''
                        WEIGHT:
                          type: integer
                          format: int64
                          description: ''
                        ERROR_CODE:
                          type: integer
                          format: int64
                          description: ''
                        ERROR_TEXT:
                          type: string
                          format: byte
                          description: ''
                  RESULT_ELEM:
                    type: array
                    items:
                      type: object
                      properties:
                        CONT_COUNTER:
                          type: integer
                          format: int64
                          description: ''
                        NAME:
                          type: string
                          format: byte
                          description: ''
                        RANK_VALUE:
                          type: integer
                          format: int64
                          description: ''
                        CLASSI_TYPE:
                          type: integer
                          format: int64
                          description: ''
                        ELEM_COUNTER:
                          type: integer
                          format: int64
                          description: ''
                  SEARCH_CLASS:
                    type: array
                    items:
                      type: object
                      properties:
                        SEARCH_CLASS:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
