openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSQ_DB12_DOWNLOAD:
    post:
      tags:
      - STUQ
      summary: MS SQL Server DB12 download
      operationId: /rfc/MSQ_DB12_DOWNLOAD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SESDESC:
                  type: string
                  default: ' '
                  maxLength: 8
                  description: Text of length 8 char
                SESTYPE:
                  type: string
                  default: ' '
                  maxLength: 8
                  description: Text of length 8 char
                BACKUPFILE:
                  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
                BACKUPLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      MEIDASETID:
                        type: integer
                        format: int32
                        description: Natural number
                      BACKSETID:
                        type: integer
                        format: int32
                        description: Natural number
                      NAME1:
                        type: string
                        maxLength: 255
                        description: Char255
                      NAME2:
                        type: string
                        maxLength: 255
                        description: Char255
                      DESC1:
                        type: string
                        maxLength: 255
                        description: Char255
                      DESC2:
                        type: string
                        maxLength: 255
                        description: Char255
                      SFTNAME:
                        type: string
                        maxLength: 255
                        description: Char255
                      1FAMILYNUM:
                        type: integer
                        format: int32
                        description: Natural number
                      BACKUPPOS:
                        type: integer
                        format: int32
                        description: Natural number
                      EXP_DATE:
                        type: string
                        maxLength: 30
                        description: Short text
                      START_DATE:
                        type: string
                        maxLength: 30
                        description: Short text
                      END_DATE:
                        type: string
                        maxLength: 30
                        description: Short text
                      TYPE:
                        type: string
                        maxLength: 2
                        description: Version number components
                      DBNAME:
                        type: string
                        maxLength: 255
                        description: Char255
                      SERVERNAM:
                        type: string
                        maxLength: 255
                        description: Char255
                      MACHINENAM:
                        type: string
                        maxLength: 255
                        description: Char255
                      JOB_ID:
                        type: string
                        maxLength: 100
                        description: Character 100
                      BACKUPTYPE:
                        type: string
                        maxLength: 100
                        description: Character 100
                CCMSJOBLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      JOB_NAME:
                        type: string
                        maxLength: 100
                        description: MS SQl server - name of the job
                      OWNER:
                        type: string
                        maxLength: 30
                        description: MS SQL server database user name
                      DBNAME:
                        type: string
                        maxLength: 255
                        description: MS SQL server Database name
                      JOBTYPE:
                        type: string
                        maxLength: 60
                        description: MS SQL server - Name of the subsystem used for job execution
                      COMMAND:
                        type: string
                        maxLength: 520
                        description: MS SQL server - command executed by the subsytem
                      RUNDATE:
                        type: integer
                        format: int32
                        description: MS SQL server - the date to begin executing the job
                      RUNTIME:
                        type: integer
                        format: int32
                        description: MS SQL server - the time to start executing the server job
                      RUNSTATUS:
                        type: integer
                        format: int32
                        description: MS SQL server - the status of the job's execution
                      LSTRUNDATE:
                        type: integer
                        format: int32
                        description: MS SQL server - the date the job or step started execution.
                      LSTRUNTIME:
                        type: integer
                        format: int32
                        description: MS SQL server - the time the job or step completed
                      NEXTRUNTM:
                        type: integer
                        format: int32
                        description: MS SQL server - the time to start executing the server job
                      NEXTRUNDT:
                        type: integer
                        format: int32
                        description: MS SQL server - the date the job or step started execution.
                      JOBID:
                        type: string
                        maxLength: 255
                        description: MS SQL server Database name
                      ENABLED:
                        type: integer
                        format: int32
                        description: MS SQL server - job enable status for execution
                      STATUSDESC:
                        type: string
                        maxLength: 100
                        description: MS SQl server - name of the job
                RESTORELIST:
                  type: array
                  items:
                    type: object
                    properties:
                      RESTOREDAT:
                        type: string
                        maxLength: 20
                        description: 'MS SQL Server: Restoration date and time'
                      SDBNAME:
                        type: string
                        maxLength: 30
                        description: 'MS SQL Server: Database name'
                      DBSIZE:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: Database size'
                      BACKEDDATE:
                        type: string
                        maxLength: 20
                        description: 'MS SQL Server: Database starting time'
                      RESTORETYP:
                        type: string
                        maxLength: 20
                        description: Text
                      RESTTABLE:
                        type: string
                        maxLength: 20
                        description: Table name
                      RESTDEVICE:
                        type: string
                        maxLength: 30
                        description: 'MS SQL Server: Logical device name'
                      RESTDEVTYP:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: Device controller type'
                      RESTVOLNAM:
                        type: string
                        maxLength: 20
                        description: Text
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BACKUPFILE:
                    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
                  BACKUPLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        MEIDASETID:
                          type: integer
                          format: int32
                          description: Natural number
                        BACKSETID:
                          type: integer
                          format: int32
                          description: Natural number
                        NAME1:
                          type: string
                          maxLength: 255
                          description: Char255
                        NAME2:
                          type: string
                          maxLength: 255
                          description: Char255
                        DESC1:
                          type: string
                          maxLength: 255
                          description: Char255
                        DESC2:
                          type: string
                          maxLength: 255
                          description: Char255
                        SFTNAME:
                          type: string
                          maxLength: 255
                          description: Char255
                        1FAMILYNUM:
                          type: integer
                          format: int32
                          description: Natural number
                        BACKUPPOS:
                          type: integer
                          format: int32
                          description: Natural number
                        EXP_DATE:
                          type: string
                          maxLength: 30
                          description: Short text
                        START_DATE:
                          type: string
                          maxLength: 30
                          description: Short text
                        END_DATE:
                          type: string
                          maxLength: 30
                          description: Short text
                        TYPE:
                          type: string
                          maxLength: 2
                          description: Version number components
                        DBNAME:
                          type: string
                          maxLength: 255
                          description: Char255
                        SERVERNAM:
                          type: string
                          maxLength: 255
                          description: Char255
                        MACHINENAM:
                          type: string
                          maxLength: 255
                          description: Char255
                        JOB_ID:
                          type: string
                          maxLength: 100
                          description: Character 100
                        BACKUPTYPE:
                          type: string
                          maxLength: 100
                          description: Character 100
                  CCMSJOBLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        JOB_NAME:
                          type: string
                          maxLength: 100
                          description: MS SQl server - name of the job
                        OWNER:
                          type: string
                          maxLength: 30
                          description: MS SQL server database user name
                        DBNAME:
                          type: string
                          maxLength: 255
                          description: MS SQL server Database name
                        JOBTYPE:
                          type: string
                          maxLength: 60
                          description: MS SQL server - Name of the subsystem used for job execution
                        COMMAND:
                          type: string
                          maxLength: 520
                          description: MS SQL server - command executed by the subsytem
                        RUNDATE:
                          type: integer
                          format: int32
                          description: MS SQL server - the date to begin executing the job
                        RUNTIME:
                          type: integer
                          format: int32
                          description: MS SQL server - the time to start executing the server job
                        RUNSTATUS:
                          type: integer
                          format: int32
                          description: MS SQL server - the status of the job's execution
                        LSTRUNDATE:
                          type: integer
                          format: int32
                          description: MS SQL server - the date the job or step started execution.
                        LSTRUNTIME:
                          type: integer
                          format: int32
                          description: MS SQL server - the time the job or step completed
                        NEXTRUNTM:
                          type: integer
                          format: int32
                          description: MS SQL server - the time to start executing the server job
                        NEXTRUNDT:
                          type: integer
                          format: int32
                          description: MS SQL server - the date the job or step started execution.
                        JOBID:
                          type: string
                          maxLength: 255
                          description: MS SQL server Database name
                        ENABLED:
                          type: integer
                          format: int32
                          description: MS SQL server - job enable status for execution
                        STATUSDESC:
                          type: string
                          maxLength: 100
                          description: MS SQl server - name of the job
                  RESTORELIST:
                    type: array
                    items:
                      type: object
                      properties:
                        RESTOREDAT:
                          type: string
                          maxLength: 20
                          description: 'MS SQL Server: Restoration date and time'
                        SDBNAME:
                          type: string
                          maxLength: 30
                          description: 'MS SQL Server: Database name'
                        DBSIZE:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: Database size'
                        BACKEDDATE:
                          type: string
                          maxLength: 20
                          description: 'MS SQL Server: Database starting time'
                        RESTORETYP:
                          type: string
                          maxLength: 20
                          description: Text
                        RESTTABLE:
                          type: string
                          maxLength: 20
                          description: Table name
                        RESTDEVICE:
                          type: string
                          maxLength: 30
                          description: 'MS SQL Server: Logical device name'
                        RESTDEVTYP:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: Device controller type'
                        RESTVOLNAM:
                          type: string
                          maxLength: 20
                          description: Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
