openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_BACKUP_FILE:
    post:
      tags:
      - SFMSS_JOBS
      summary: MS SQL server function to get the list of SAP Job Backup File
      operationId: /rfc/GET_BACKUP_FILE
      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
                TASKLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      BAKSETID:
                        type: integer
                        format: int32
                        description: Natural number
                      FILEGROUP:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
                      PAGESIZE:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
                      FILENUMBER:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
                      PAGECOUNT:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
                      FILETYPE:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
                      BLOCKSIZE:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
                      FILESIZE:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
                      LOGICALNAM:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
                      PHYDRIVE:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
                      PHYNAME:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TASKLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        BAKSETID:
                          type: integer
                          format: int32
                          description: Natural number
                        FILEGROUP:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
                        PAGESIZE:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
                        FILENUMBER:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
                        PAGECOUNT:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
                        FILETYPE:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
                        BLOCKSIZE:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
                        FILESIZE:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
                        LOGICALNAM:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
                        PHYDRIVE:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
                        PHYNAME:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
