openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_LIST_INDEXES:
    post:
      tags:
      - TREX_RFC_ADMINISTRATION
      summary: Returns a list of index ids and the corresponding description
      operationId: /rfc/TREX_RFC_LIST_INDEXES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INDEXSERVER_LOCATION:
                  type: string
                  format: byte
                  description: Host:Port
                NAMESPACE:
                  type: string
                  format: byte
                  description: Namespace
                RETURN_INDEX_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      INDEX_ID:
                        type: string
                        format: byte
                        description: ''
                      DESCRIPTION:
                        type: string
                        format: byte
                        description: ''
                      OPTIMIZED_DOCS:
                        type: integer
                        format: int64
                        description: ''
              required:
              - INDEXSERVER_LOCATION
      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
                  RETURN_INDEX_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        INDEX_ID:
                          type: string
                          format: byte
                          description: ''
                        DESCRIPTION:
                          type: string
                          format: byte
                          description: ''
                        OPTIMIZED_DOCS:
                          type: integer
                          format: int64
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
