openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_SHOW_SERVERS:
    post:
      tags:
      - TREX_RFC_ADMINISTRATION
      summary: Get the TREX server of an index
      operationId: /rfc/TREX_RFC_SHOW_SERVERS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_ACTIVE:
                  type: string
                  format: byte
                SERVER_TYPE:
                  type: integer
                  format: int64
                SERVER_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      SERVER_TYPE:
                        type: integer
                        format: int64
                        description: ''
                      IS_ACTIVE:
                        type: string
                        format: byte
                        description: ''
                      LOCATION:
                        type: string
                        format: byte
                        description: ''
                      URL:
                        type: string
                        format: byte
                        description: ''
                      SERVERINFO_GROUP:
                        type: string
                        format: byte
                        description: ''
                      PID:
                        type: integer
                        format: int64
                        description: ''
                      PIDS:
                        type: string
                        format: byte
                        description: ''
                SERVER_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      SERVER_TYPE:
                        type: integer
                        format: int64
                        description: ''
                      IS_ACTIVE:
                        type: string
                        format: byte
                        description: ''
                      LOCATION:
                        type: string
                        format: byte
                        description: ''
                      URL:
                        type: string
                        format: byte
                        description: ''
              required:
              - IS_ACTIVE
              - SERVER_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Return Code
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Return Text
                  SERVER_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        SERVER_TYPE:
                          type: integer
                          format: int64
                          description: ''
                        IS_ACTIVE:
                          type: string
                          format: byte
                          description: ''
                        LOCATION:
                          type: string
                          format: byte
                          description: ''
                        URL:
                          type: string
                          format: byte
                          description: ''
                        SERVERINFO_GROUP:
                          type: string
                          format: byte
                          description: ''
                        PID:
                          type: integer
                          format: int64
                          description: ''
                        PIDS:
                          type: string
                          format: byte
                          description: ''
                  SERVER_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        SERVER_TYPE:
                          type: integer
                          format: int64
                          description: ''
                        IS_ACTIVE:
                          type: string
                          format: byte
                          description: ''
                        LOCATION:
                          type: string
                          format: byte
                          description: ''
                        URL:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
