openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FILL_ARCHIVE_HISTORY:
    post:
      tags:
      - SDBO
      operationId: /rfc/FILL_ARCHIVE_HISTORY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ARCH_HISTORY:
                  type: array
                  items:
                    type: object
                    properties:
                      SEQUENCE#:
                        type: string
                        maxLength: 8
                        description: Archive log sequence number
                      BEG:
                        type: string
                        maxLength: 14
                        description: Start of the DBA action
                      FUNCT:
                        type: string
                        maxLength: 3
                        description: Function ID for DBA action
                      RC:
                        type: integer
                        format: int64
                        description: 'Return code for DBA action  enumValues: 0001=Warning,0002=General error,0000=Everything OK,0003=Detailed error'
                        enum:
                        - '0001'
                        - '0002'
                        - '0000'
                        - '0003'
                      ACTID:
                        type: string
                        maxLength: 16
                        description: Name of DBA Log
                      BRTIME:
                        type: string
                        maxLength: 14
                        description: Start of the DBA action
                      VOLUME:
                        type: string
                        maxLength: 10
                        description: Name of backup volume
                      FILE_POS:
                        type: integer
                        format: int64
                        description: Position of file on storage device
                      BACKID:
                        type: string
                        maxLength: 16
                        description: SID of a backup file (using external backup program)
                      LOGDATE:
                        type: string
                        format: date
                        description: 'Oracle: Redo Log Creation Date'
                      LOGTIME:
                        type: string
                        maxLength: 6
                        description: 'Oracle: Redo Log Creation Time'
                      LOW_CHANGE:
                        type: string
                        maxLength: 16
                        description: First system change number (SCN) of offline redo log file
                      ARCH_NAME:
                        type: string
                        maxLength: 255
                        description: Name of backed up offline redo log file
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SDBA_LOGS:
                    type: integer
                    format: int32
                  ARCH_HISTORY:
                    type: array
                    items:
                      type: object
                      properties:
                        SEQUENCE#:
                          type: string
                          maxLength: 8
                          description: Archive log sequence number
                        BEG:
                          type: string
                          maxLength: 14
                          description: Start of the DBA action
                        FUNCT:
                          type: string
                          maxLength: 3
                          description: Function ID for DBA action
                        RC:
                          type: integer
                          format: int64
                          description: 'Return code for DBA action  enumValues: 0001=Warning,0002=General error,0000=Everything OK,0003=Detailed error'
                          enum:
                          - '0001'
                          - '0002'
                          - '0000'
                          - '0003'
                        ACTID:
                          type: string
                          maxLength: 16
                          description: Name of DBA Log
                        BRTIME:
                          type: string
                          maxLength: 14
                          description: Start of the DBA action
                        VOLUME:
                          type: string
                          maxLength: 10
                          description: Name of backup volume
                        FILE_POS:
                          type: integer
                          format: int64
                          description: Position of file on storage device
                        BACKID:
                          type: string
                          maxLength: 16
                          description: SID of a backup file (using external backup program)
                        LOGDATE:
                          type: string
                          format: date
                          description: 'Oracle: Redo Log Creation Date'
                        LOGTIME:
                          type: string
                          maxLength: 6
                          description: 'Oracle: Redo Log Creation Time'
                        LOW_CHANGE:
                          type: string
                          maxLength: 16
                          description: First system change number (SCN) of offline redo log file
                        ARCH_NAME:
                          type: string
                          maxLength: 255
                          description: Name of backed up offline redo log file
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
