openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_BACKUP_HISTORY_ADA:
    post:
      tags:
      - SADB
      operationId: /rfc/GET_BACKUP_HISTORY_ADA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                UPLOAD:
                  type: string
                  maxLength: 1
                BACKUP_HISTORY:
                  type: array
                  items:
                    type: object
                    properties:
                      CMD_ID:
                        type: string
                        maxLength: 12
                        description: Command ID (unique; link cnhist <-> cnreprt)
                      ADALABEL:
                        type: string
                        maxLength: 13
                        description: Backup label
                      ACTION:
                        type: string
                        maxLength: 11
                        description: Short name for the DBA action
                      STRTPNODAT:
                        type: string
                        format: date
                        description: Date stamp
                      STRTPNOTIM:
                        type: string
                        maxLength: 6
                        description: Time (24 hour clock) for DBA action to run
                      STOPPNODAT:
                        type: string
                        format: date
                        description: Date stamp
                      STOPPNOTIM:
                        type: string
                        maxLength: 6
                        description: Time (24 hour clock) for DBA action to run
                      BEGDAT:
                        type: string
                        format: date
                        description: Date stamp
                      BEGTIM:
                        type: string
                        maxLength: 6
                        description: Time (24 hour clock) for DBA action to run
                      ENDDAT:
                        type: string
                        format: date
                        description: Date stamp
                      ENDTIM:
                        type: string
                        maxLength: 6
                        description: Time (24 hour clock) for DBA action to run
                      STARTLPNO:
                        type: integer
                        format: int32
                        description: Log page number at start of action
                      STOPLPNO:
                        type: integer
                        format: int32
                        description: Log page number at stop action
                      LOGREQ:
                        type: string
                        maxLength: 3
                        description: Indicator whether log info required for consistency
                      MEDIANAME:
                        type: string
                        maxLength: 60
                        description: Logical name of backup volume
                      PAGECOUNT:
                        type: integer
                        format: int64
                        description: No. of pages backed up
                      ADAVOLUME:
                        type: integer
                        format: int64
                        description: Number of volumes used for backup
                      RETCOD:
                        type: string
                        maxLength: 13
                        description: Return code
                      RETTEXT:
                        type: string
                        maxLength: 40
                        description: Error message for return code
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BACKUP_HISTORY:
                    type: array
                    items:
                      type: object
                      properties:
                        CMD_ID:
                          type: string
                          maxLength: 12
                          description: Command ID (unique; link cnhist <-> cnreprt)
                        ADALABEL:
                          type: string
                          maxLength: 13
                          description: Backup label
                        ACTION:
                          type: string
                          maxLength: 11
                          description: Short name for the DBA action
                        STRTPNODAT:
                          type: string
                          format: date
                          description: Date stamp
                        STRTPNOTIM:
                          type: string
                          maxLength: 6
                          description: Time (24 hour clock) for DBA action to run
                        STOPPNODAT:
                          type: string
                          format: date
                          description: Date stamp
                        STOPPNOTIM:
                          type: string
                          maxLength: 6
                          description: Time (24 hour clock) for DBA action to run
                        BEGDAT:
                          type: string
                          format: date
                          description: Date stamp
                        BEGTIM:
                          type: string
                          maxLength: 6
                          description: Time (24 hour clock) for DBA action to run
                        ENDDAT:
                          type: string
                          format: date
                          description: Date stamp
                        ENDTIM:
                          type: string
                          maxLength: 6
                          description: Time (24 hour clock) for DBA action to run
                        STARTLPNO:
                          type: integer
                          format: int32
                          description: Log page number at start of action
                        STOPLPNO:
                          type: integer
                          format: int32
                          description: Log page number at stop action
                        LOGREQ:
                          type: string
                          maxLength: 3
                          description: Indicator whether log info required for consistency
                        MEDIANAME:
                          type: string
                          maxLength: 60
                          description: Logical name of backup volume
                        PAGECOUNT:
                          type: integer
                          format: int64
                          description: No. of pages backed up
                        ADAVOLUME:
                          type: integer
                          format: int64
                          description: Number of volumes used for backup
                        RETCOD:
                          type: string
                          maxLength: 13
                          description: Return code
                        RETTEXT:
                          type: string
                          maxLength: 40
                          description: Error message for return code
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
