openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_EXPORT_INDEX:
    post:
      tags:
      - TREX_RFC_ADMINISTRATION
      summary: export index
      operationId: /rfc/TREX_RFC_EXPORT_INDEX
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXPORT_PATH:
                  type: string
                  format: byte
                  description: target Directory
                FORCE:
                  type: integer
                  format: int64
                  description: '1: target will be updated (delta snapshot)'
                INDEX_ID:
                  type: string
                  format: byte
                  description: IndexId
              required:
              - EXPORT_PATH
              - INDEX_ID
      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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
