openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_GET_SERVER:
    post:
      tags:
      - TREX_RFC_ADMINISTRATION
      summary: show index-,  queue- , http- , rfc-Server
      operationId: /rfc/TREX_RFC_GET_SERVER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INDEX_ID:
                  type: string
                  format: byte
                  description: IndexId
                RETURN_AS_IP:
                  type: integer
                  format: int64
                  description: '0: false, 1: true'
                SERVER_TYPE:
                  type: integer
                  format: int64
                  description: IndexId
                SERVICE_MODE:
                  type: integer
                  format: int64
                  description: IndexId
              required:
              - INDEX_ID
              - RETURN_AS_IP
              - SERVER_TYPE
              - SERVICE_MODE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LOCATION:
                    type: string
                    format: byte
                    description: Host:Port
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Return Code
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Return Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
