openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_GET_VERSION_INFO:
    post:
      tags:
      - TREX_RFC_ADMINISTRATION
      summary: get index server version
      operationId: /rfc/TREX_RFC_GET_VERSION_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LOCATION:
                  type: string
                  format: byte
                TREX_VERSION_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      HOST:
                        type: string
                        format: byte
                        description: ''
                      VERSION:
                        type: string
                        format: byte
                        description: ''
                      BUILD_NR:
                        type: string
                        format: byte
                        description: ''
                      INSTALL_TIME:
                        type: integer
                        format: int64
                        description: ''
                      COMPILE_DATE:
                        type: integer
                        format: int64
                        description: ''
                      CHANGE_LIST:
                        type: string
                        format: byte
                        description: ''
                      COMPILE_HOST:
                        type: string
                        format: byte
                        description: ''
                      TYPE:
                        type: string
                        format: byte
                        description: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: string
                    format: byte
                    description: Return Text
                  RETURN_TEXT:
                    type: integer
                    format: int64
                    description: Return Code
                  TREX_VERSION_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        HOST:
                          type: string
                          format: byte
                          description: ''
                        VERSION:
                          type: string
                          format: byte
                          description: ''
                        BUILD_NR:
                          type: string
                          format: byte
                          description: ''
                        INSTALL_TIME:
                          type: integer
                          format: int64
                          description: ''
                        COMPILE_DATE:
                          type: integer
                          format: int64
                          description: ''
                        CHANGE_LIST:
                          type: string
                          format: byte
                          description: ''
                        COMPILE_HOST:
                          type: string
                          format: byte
                          description: ''
                        TYPE:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
