openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ORA_CREATE_SNAPSHOT:
    post:
      tags:
      - STD9
      summary: Create an oracle monitor snapshot of gv$ views
      operationId: /rfc/ORA_CREATE_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_SNAPSHOT_TYPE:
                  type: string
                  maxLength: 1
                  description: Type of the oracle database snapshot
              required:
              - I_SAVE_ERRLOG
              - I_SNAPSHOT_TYPE
      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.
