openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_BACKUPHISTORY_OVERVIEW:
    post:
      tags:
      - SDB6BACKUP
      summary: 'DB6: Backup History Overview List'
      operationId: /rfc/DB6_PM_BACKUPHISTORY_OVERVIEW
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CALLERFLAG:
                  type: string
                  maxLength: 1
                  description: Who Has Called this Program
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                DAYS:
                  type: integer
                  format: int32
                  description: 'DB6: Days to retrieve from backup history (default one year)'
                PARTITN:
                  type: integer
                  format: int32
                  description: Partition Number
                IT_DB6PMCKOV:
                  type: array
                  items:
                    type: object
                    properties:
                      BACKUPDAT:
                        type: string
                        format: date
                        description: Backup Timestamp Date Part
                      BACKUPTIM:
                        type: string
                        maxLength: 6
                        description: Backup Timestamp Time Part
                      PARTITN:
                        type: integer
                        format: int32
                        description: Partition on which Backup was made
                      DURATION:
                        type: string
                        maxLength: 6
                        description: Duration of Backup
                      BACKUPRC:
                        type: integer
                        format: int64
                        description: Return Code baclup
                      LINECOLOR:
                        type: string
                        maxLength: 30
                        description: 'ALV control: Field name with simple row color coding'
                      STATUS:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      EID:
                        type: integer
                        format: int32
                        description: ''
              required:
              - CALLERFLAG
              - DAYS
              - PARTITN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_DB6PMCKOV:
                    type: array
                    items:
                      type: object
                      properties:
                        BACKUPDAT:
                          type: string
                          format: date
                          description: Backup Timestamp Date Part
                        BACKUPTIM:
                          type: string
                          maxLength: 6
                          description: Backup Timestamp Time Part
                        PARTITN:
                          type: integer
                          format: int32
                          description: Partition on which Backup was made
                        DURATION:
                          type: string
                          maxLength: 6
                          description: Duration of Backup
                        BACKUPRC:
                          type: integer
                          format: int64
                          description: Return Code baclup
                        LINECOLOR:
                          type: string
                          maxLength: 30
                          description: 'ALV control: Field name with simple row color coding'
                        STATUS:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        EID:
                          type: integer
                          format: int32
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
