openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_GET_BACKUP_DEVICES:
    post:
      tags:
      - SFMSS_JOBS
      summary: Function to get the list of backup devices.
      operationId: /rfc/MSS_GET_BACKUP_DEVICES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name for a database connection
                SCHEMA:
                  type: string
                  default: ''
                  maxLength: 128
                  description: Schema name
                DEVLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      DEVNAME:
                        type: string
                        maxLength: 128
                        description: MS SQL server backup device name
                      PHYSNAME:
                        type: string
                        maxLength: 520
                        description: Physical file name (full path) of the database file.
                      DEVTYPE:
                        type: integer
                        format: int32
                        description: MS SQL server - device controller type
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DEVLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        DEVNAME:
                          type: string
                          maxLength: 128
                          description: MS SQL server backup device name
                        PHYSNAME:
                          type: string
                          maxLength: 520
                          description: Physical file name (full path) of the database file.
                        DEVTYPE:
                          type: integer
                          format: int32
                          description: MS SQL server - device controller type
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
