openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_GET_TREX_VERSION_INFO:
    post:
      tags:
      - TREX_RFC_ADMINISTRATION
      summary: get index server version
      operationId: /rfc/TREX_RFC_GET_TREX_VERSION_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INDEXSERVER_LOCATION:
                  type: string
                  format: byte
                  description: Host:Port
                TREX_VERSION_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      TREX_VERSION:
                        type: string
                        format: byte
                        description: ''
                      BUILD_NR:
                        type: string
                        format: byte
                        description: ''
                      BUILD_TIME:
                        type: string
                        format: byte
                        description: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BUILD_NR:
                    type: string
                    format: byte
                    description: build nr
                  CHANGE_LIST:
                    type: string
                    format: byte
                    description: change list
                  COMPILE_DATE:
                    type: integer
                    format: int64
                    description: compile date
                  COMPILE_HOST:
                    type: string
                    format: byte
                    description: compile host
                  INSTALL_TIME:
                    type: integer
                    format: int64
                    description: install time
                  PROTOCOL_VERSION:
                    type: integer
                    format: int64
                    description: compile host
                  RETURN_CODE:
                    type: string
                    format: byte
                    description: Return Text
                  RETURN_TEXT:
                    type: integer
                    format: int64
                    description: Return Code
                  VERSION:
                    type: string
                    format: byte
                    description: Host:Port
                  TREX_VERSION_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        TREX_VERSION:
                          type: string
                          format: byte
                          description: ''
                        BUILD_NR:
                          type: string
                          format: byte
                          description: ''
                        BUILD_TIME:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
