openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SHOW_DBA_RESULTS_SDB:
    post:
      tags:
      - SADE
      operationId: /rfc/SHOW_DBA_RESULTS_SDB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                RESULT_STRUCT:
                  type: object
                  properties:
                    WEEK:
                      type: integer
                      format: int64
                      description: Week for calendar display of backup scheduling
                    DAYE:
                      type: integer
                      format: int64
                      description: 'Day of the week for DBA action  enumValues: 1=Monday,4=Thursday,5=Friday,7=Sunday,3=Wednesday,2=Tuesday,6=Saturday'
                      enum:
                      - '1'
                      - '4'
                      - '5'
                      - '7'
                      - '3'
                      - '2'
                      - '6'
                    TIMEE:
                      type: string
                      maxLength: 6
                      description: Time (24 hour clock) for DBA action to run
                    BEG:
                      type: string
                      maxLength: 14
                      description: Start of the DBA action
                    FUNCT:
                      type: string
                      maxLength: 3
                      description: Function ID for DBA action
                    SYSID:
                      type: string
                      maxLength: 8
                      description: Name of the SAP System
                    OBJ:
                      type: string
                      maxLength: 16
                      description: Object of DB operation
                    RC:
                      type: integer
                      format: int64
                      description: 'Return code for DBA action  enumValues: 0001=Warning,0002=General error,0000=Everything OK,0003=Detailed error'
                      enum:
                      - '0001'
                      - '0002'
                      - '0000'
                      - '0003'
                    STATE:
                      type: string
                      maxLength: 1
                      description: 'Status of the DBA Action  enumValues: W=Warning,U=Unknown,R=Running,E=Error,P=Planned,S=Success'
                      enum:
                      - W
                      - U
                      - R
                      - E
                      - P
                      - S
                    REQID:
                      type: integer
                      format: int32
                      description: Request ID for Informix onarchive actions
                    ACTID:
                      type: string
                      maxLength: 16
                      description: Name of DBA Log
                    DBSPACESET:
                      type: string
                      maxLength: 18
                      description: Informix dataset name
                    JOBID:
                      type: integer
                      format: int32
                      description: Job ID for Informix archive jobs
                    FDESC:
                      type: string
                      maxLength: 80
                      description: Description of DB Operation
                    SQLJOBID:
                      type: string
                      format: byte
                      description: MS SQL server job id
                SYSTEM_STRUCT:
                  type: object
                  properties:
                    SYSID:
                      type: string
                      maxLength: 8
                      description: Database System ID
                    DBSYS:
                      type: string
                      maxLength: 10
                      description: 'Database System for DBA  enumValues: *=Valid for All DB Platforms,SDB/LVC=liveCache,INFORMIX=INFORMIX,MSSQL=Microsoft SQL Server,DB400=DB2/400,DB2=DB2/CS,SDB/ANY=MySQL MaxDB with no SAP ABAP, such as Content Server, ...,SDB=MySQL MaxDB with SAP ABAP,ORACLE=ORACLE,DB6=DB2 UDB'
                      enum:
                      - '*'
                      - SDB/LVC
                      - INFORMIX
                      - MSSQL
                      - DB400
                      - DB2
                      - SDB/ANY
                      - SDB
                      - ORACLE
                      - DB6
                    SAPREL:
                      type: string
                      maxLength: 4
                      description: Release Status of SAP System
                    DBREL:
                      type: string
                      maxLength: 10
                      description: Database release
                    RFCDEST:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    DBHOST:
                      type: string
                      maxLength: 30
                      description: Name of the server where the DBA action is to be executed
                    DBCNAME:
                      type: string
                      maxLength: 30
                      description: Logical name for a database connection
              required:
              - RESULT_STRUCT
              - SYSTEM_STRUCT
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
