openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_GET_BACKUP_DETAIL:
    post:
      tags:
      - SFMSS_JOBS
      summary: Function to get backup details
      operationId: /rfc/MSS_GET_BACKUP_DETAIL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BKSETID:
                  type: integer
                  format: int32
                  default: 0
                  description: MS SQL server - Job execution days in the week
                BKTYPE:
                  type: integer
                  format: int32
                  description: MS SQL server - Object type (int)
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name for a database connection
                DBNAME:
                  type: string
                  maxLength: 255
                  description: The name of the database in SQL Server instance.
                SCHEMA:
                  type: string
                  default: ''
                  maxLength: 128
                  description: Schema name
                TAPEINF:
                  type: array
                  items:
                    type: object
                    properties:
                      DBNAME:
                        type: string
                        maxLength: 128
                        description: Database name
                      BKUPTYPE:
                        type: string
                        maxLength: 30
                        description: MS SQL server - Backup Type description
                      BACKSTART:
                        type: string
                        maxLength: 20
                        description: MS SQL server backup finish date
                      BACKDEVNAM:
                        type: string
                        maxLength: 128
                        description: MS SQL server backup device name
                      VOLUMENAME:
                        type: string
                        maxLength: 128
                        description: MS sql server desciption of the nedia name.
                      BACKUPID:
                        type: integer
                        format: int32
                        description: MS SQL server backup id for the backup task
                      BKUPNAME:
                        type: string
                        maxLength: 128
                        description: Name of the backup set
                      BKUPDESC:
                        type: string
                        maxLength: 255
                        description: Description of the backup set
                      BACKDBSIZE:
                        type: integer
                        format: int64
                        description: MS SQL server DB size
                      BKUPDURA:
                        type: string
                        maxLength: 8
                        description: Backup job run duration
              required:
              - BKTYPE
              - DBNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TAPEINF:
                    type: array
                    items:
                      type: object
                      properties:
                        DBNAME:
                          type: string
                          maxLength: 128
                          description: Database name
                        BKUPTYPE:
                          type: string
                          maxLength: 30
                          description: MS SQL server - Backup Type description
                        BACKSTART:
                          type: string
                          maxLength: 20
                          description: MS SQL server backup finish date
                        BACKDEVNAM:
                          type: string
                          maxLength: 128
                          description: MS SQL server backup device name
                        VOLUMENAME:
                          type: string
                          maxLength: 128
                          description: MS sql server desciption of the nedia name.
                        BACKUPID:
                          type: integer
                          format: int32
                          description: MS SQL server backup id for the backup task
                        BKUPNAME:
                          type: string
                          maxLength: 128
                          description: Name of the backup set
                        BKUPDESC:
                          type: string
                          maxLength: 255
                          description: Description of the backup set
                        BACKDBSIZE:
                          type: integer
                          format: int64
                          description: MS SQL server DB size
                        BKUPDURA:
                          type: string
                          maxLength: 8
                          description: Backup job run duration
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
