openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MEDIA_GETALL_SDB:
    post:
      tags:
      - SADE
      operationId: /rfc/MEDIA_GETALL_SDB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CALL_MODE:
                  type: string
                  default: C
                  maxLength: 1
                  description: 'SAP DB: DBMRFC Call Mode'
                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
                MEDIA_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 64
                        description: 'SAP DB: Name of Backup Medium'
                      LOC:
                        type: string
                        maxLength: 256
                        description: 'SAP DB: Location of Backup Medium'
                      TYPE:
                        type: string
                        maxLength: 32
                        description: 'SAP DB: Type of Backup Medium'
                      STYPE:
                        type: string
                        maxLength: 16
                        description: 'SAP DB: Save Type of Backup Medium'
                      MSIZE:
                        type: string
                        maxLength: 16
                        description: 'SAP DB: Size of Backup Medium'
                      BLKSIZE:
                        type: string
                        maxLength: 16
                        description: 'SAP DB: Block Size of Backup Medium'
                      OVERWRITE:
                        type: string
                        maxLength: 16
                        description: 'SAP DB: Backup Medium Overwrite Option'
                      AUTOLDR:
                        type: string
                        maxLength: 16
                        description: 'SAP DB: Autoloader Option for Backup Medium'
                      OSCMD:
                        type: string
                        maxLength: 256
                        description: 'SAP DB: Backup Medium OS Command Option'
                      DCREATED:
                        type: string
                        format: date
                        description: Date
                      TCREATED:
                        type: string
                        maxLength: 6
                        description: SAP DB Time (6 Places in SAP Layout)
                      DMODIFIED:
                        type: string
                        format: date
                        description: Date
                      TMODIFIED:
                        type: string
                        maxLength: 6
                        description: SAP DB Time (6 Places in SAP Layout)
                      BACKUPTOOL:
                        type: string
                        maxLength: 16
                        description: 'SAP DB: Save Type of Backup Medium'
              required:
              - SYSTEM_STRUCT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MEDIA_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 64
                          description: 'SAP DB: Name of Backup Medium'
                        LOC:
                          type: string
                          maxLength: 256
                          description: 'SAP DB: Location of Backup Medium'
                        TYPE:
                          type: string
                          maxLength: 32
                          description: 'SAP DB: Type of Backup Medium'
                        STYPE:
                          type: string
                          maxLength: 16
                          description: 'SAP DB: Save Type of Backup Medium'
                        MSIZE:
                          type: string
                          maxLength: 16
                          description: 'SAP DB: Size of Backup Medium'
                        BLKSIZE:
                          type: string
                          maxLength: 16
                          description: 'SAP DB: Block Size of Backup Medium'
                        OVERWRITE:
                          type: string
                          maxLength: 16
                          description: 'SAP DB: Backup Medium Overwrite Option'
                        AUTOLDR:
                          type: string
                          maxLength: 16
                          description: 'SAP DB: Autoloader Option for Backup Medium'
                        OSCMD:
                          type: string
                          maxLength: 256
                          description: 'SAP DB: Backup Medium OS Command Option'
                        DCREATED:
                          type: string
                          format: date
                          description: Date
                        TCREATED:
                          type: string
                          maxLength: 6
                          description: SAP DB Time (6 Places in SAP Layout)
                        DMODIFIED:
                          type: string
                          format: date
                          description: Date
                        TMODIFIED:
                          type: string
                          maxLength: 6
                          description: SAP DB Time (6 Places in SAP Layout)
                        BACKUPTOOL:
                          type: string
                          maxLength: 16
                          description: 'SAP DB: Save Type of Backup Medium'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
