openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_RESET_LANDSCAPE:
    post:
      tags:
      - TREX_RFC_ADMINISTRATION
      summary: reset landscape
      operationId: /rfc/TREX_RFC_RESET_LANDSCAPE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLEAR_OPTION:
                  type: integer
                  format: int64
                  description: '0: false, 1: true'
                RECONFIGURE_OPTION:
                  type: integer
                  format: int64
              required:
              - CLEAR_OPTION
              - RECONFIGURE_OPTION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Return Text
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Return Code
                  TREX_AVAILABLE:
                    type: integer
                    format: int64
                    description: Percentage of available Trex Index Servers
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
