openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_GET_RESTORE_HIST:
    post:
      tags:
      - SFMSS_JOBS
      summary: Function to get the restore history
      operationId: /rfc/MSS_GET_RESTORE_HIST
      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
                ALL_RESTORES:
                  type: array
                  items:
                    type: object
                    properties:
                      RESTOREDAT:
                        type: string
                        maxLength: 20
                        description: 'MS SQL Server: Restoration date and time'
                      SDBNAME:
                        type: string
                        maxLength: 128
                        description: Database name
                      DBSIZE:
                        type: integer
                        format: int64
                        description: MS SQL server DB size
                      BACKEDDATE:
                        type: string
                        maxLength: 20
                        description: 'MS SQL Server: Database starting time'
                      RESTORETYP:
                        type: string
                        maxLength: 30
                        description: MS SQL server - Backup Type description
                      RESTOREUSR:
                        type: string
                        maxLength: 128
                        description: The user name used to log into the SQL Server database
                      RESTDEVICE:
                        type: string
                        maxLength: 30
                        description: 'MS SQL Server: Logical device name'
                      RESTDEVTYP:
                        type: string
                        maxLength: 30
                        description: MS SQLserver - Backup device type Description.
                      RESTVOLNAM:
                        type: string
                        maxLength: 128
                        description: MS SQL server - backup device volume name.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ALL_RESTORES:
                    type: array
                    items:
                      type: object
                      properties:
                        RESTOREDAT:
                          type: string
                          maxLength: 20
                          description: 'MS SQL Server: Restoration date and time'
                        SDBNAME:
                          type: string
                          maxLength: 128
                          description: Database name
                        DBSIZE:
                          type: integer
                          format: int64
                          description: MS SQL server DB size
                        BACKEDDATE:
                          type: string
                          maxLength: 20
                          description: 'MS SQL Server: Database starting time'
                        RESTORETYP:
                          type: string
                          maxLength: 30
                          description: MS SQL server - Backup Type description
                        RESTOREUSR:
                          type: string
                          maxLength: 128
                          description: The user name used to log into the SQL Server database
                        RESTDEVICE:
                          type: string
                          maxLength: 30
                          description: 'MS SQL Server: Logical device name'
                        RESTDEVTYP:
                          type: string
                          maxLength: 30
                          description: MS SQLserver - Backup device type Description.
                        RESTVOLNAM:
                          type: string
                          maxLength: 128
                          description: MS SQL server - backup device volume name.
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
