openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ORA_REORG_SNAPSHOT:
    post:
      tags:
      - STD9
      summary: Reorganize all oracle monitor snapshot tables (gvd_*, ora_*)
      operationId: /rfc/ORA_REORG_SNAPSHOT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_MAIL_RECEIVERS:
                  type: array
                  items:
                    type: object
                    properties:
                      RCVUSER:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                I_SAVE_ERRLOG:
                  type: string
                  maxLength: 1
                  description: 'Flag: Create persistent error log (if error occurred)'
                I_TABLESPACE:
                  type: string
                  maxLength: 30
                  description: Tablespace for snapshot reorg
              required:
              - I_SAVE_ERRLOG
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_RC:
                    type: integer
                    format: int32
                    description: Return code (<> 0 -> error occured)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
