openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SHOW_XDB_LOGFILE_DBA:
    post:
      tags:
      - SSHO
      operationId: /rfc/SHOW_XDB_LOGFILE_DBA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LOGFILE_STRUCT:
                  type: object
                  properties:
                    SYS_ID:
                      type: string
                      maxLength: 8
                      description: Database system ID
                    OPER_ID:
                      type: string
                      maxLength: 14
                      description: Unique operation ID
                    TASKNAME:
                      type: string
                      maxLength: 30
                      description: Task Name
                    JOB_NR:
                      type: integer
                      format: int64
                      description: Unique Job Number in a Task
                    TRIAL:
                      type: string
                      maxLength: 10
                      description: Unique ID Number of the Suboperation
                    UTIL_NR:
                      type: integer
                      format: int64
                      description: Utility number within job step
                    FUNC_ID:
                      type: string
                      maxLength: 3
                      description: Oracle file ID
                    UPD_OP:
                      type: string
                      maxLength: 14
                      description: Update Time Stamp
                    TOOLSET:
                      type: string
                      maxLength: 30
                      description: Utility manufacturer
                    PROGNAME:
                      type: string
                      maxLength: 30
                      description: Name of program that executes database operation
                    LOG_NAME:
                      type: string
                      maxLength: 255
                      description: Directory path including log file name
                    LOG_TYPE:
                      type: string
                      maxLength: 1
                      description: 'Log File Type (TASK Log, Job Log, Step Log, Utility Log)  enumValues: S=Step Logfile,U=Utility Logfile,J=Job Logfile,T=Task Logfile'
                      enum:
                      - S
                      - U
                      - J
                      - T
                    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'
                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
                VIEWER_STRUCT:
                  type: object
                  properties:
                    VIEWER:
                      type: string
                      maxLength: 50
                      description: Function Module Name for Own Log Viewer
                    VIEW_TYPE:
                      type: string
                      maxLength: 1
                      description: 'Type of Log Viewer  enumValues: U=User-Specfic,I=Internal Driver,P=Platform-Specific'
                      enum:
                      - U
                      - I
                      - P
              required:
              - LOGFILE_STRUCT
              - SYSTEM_STRUCT
              - VIEWER_STRUCT
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
