openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ONBAR_LIST_BACKUP_RESULTS:
    post:
      tags:
      - SDBI
      summary: 'Onbar: List (Given) Information About Onbar Database Backups'
      operationId: /rfc/ONBAR_LIST_BACKUP_RESULTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CCMS_ONLY:
                  type: string
                  default: X
                  maxLength: 1
                NOT_BACKED_UP:
                  type: string
                  default: ' '
                  maxLength: 1
                BARDETAILS:
                  type: array
                  items:
                    type: object
                    properties:
                      BARID:
                        type: integer
                        format: int32
                        description: Request ID for Informix onarchive actions
                      ACTID:
                        type: integer
                        format: int32
                        description: 'Onbar: Action ID'
                      ACTTYPE:
                        type: integer
                        format: int32
                        description: 'Onbar: Action type'
                      ACTSTATUS:
                        type: integer
                        format: int64
                        description: 'Onbar: Status of a backup action'
                      INSLEVEL:
                        type: integer
                        format: int32
                        description: 'Onbar: Backup level'
                      ACTSTART:
                        type: string
                        maxLength: 19
                        description: 'Onbar: Start date time of an action'
                      ACTEND:
                        type: string
                        maxLength: 19
                        description: 'Onbar: End date time of an action'
                      OBJNAME:
                        type: string
                        maxLength: 18
                        description: 'Onbar: Name of a backup object'
                      OBJTYPE:
                        type: string
                        maxLength: 2
                        description: 'Onbar: Object type'
                      INSFLOG:
                        type: integer
                        format: int32
                        description: 'Onbar: First log ID'
                BARRESULTS:
                  type: array
                  items:
                    type: object
                    properties:
                      BARID:
                        type: integer
                        format: int32
                        description: Request ID for Informix onarchive actions
                      BUTYPE:
                        type: integer
                        format: int32
                        description: 'Onbar: Action type'
                      RC:
                        type: integer
                        format: int64
                        description: 'Onbar: Status of a backup action'
                      DBSPACES:
                        type: string
                        maxLength: 18
                        description: 'Onbar: Name of a backup object'
                      BULEVEL:
                        type: integer
                        format: int32
                        description: 'Onbar: Backup level'
                      BUSTART:
                        type: string
                        maxLength: 19
                        description: 'Onbar: Start date time of an action'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BARDETAILS:
                    type: array
                    items:
                      type: object
                      properties:
                        BARID:
                          type: integer
                          format: int32
                          description: Request ID for Informix onarchive actions
                        ACTID:
                          type: integer
                          format: int32
                          description: 'Onbar: Action ID'
                        ACTTYPE:
                          type: integer
                          format: int32
                          description: 'Onbar: Action type'
                        ACTSTATUS:
                          type: integer
                          format: int64
                          description: 'Onbar: Status of a backup action'
                        INSLEVEL:
                          type: integer
                          format: int32
                          description: 'Onbar: Backup level'
                        ACTSTART:
                          type: string
                          maxLength: 19
                          description: 'Onbar: Start date time of an action'
                        ACTEND:
                          type: string
                          maxLength: 19
                          description: 'Onbar: End date time of an action'
                        OBJNAME:
                          type: string
                          maxLength: 18
                          description: 'Onbar: Name of a backup object'
                        OBJTYPE:
                          type: string
                          maxLength: 2
                          description: 'Onbar: Object type'
                        INSFLOG:
                          type: integer
                          format: int32
                          description: 'Onbar: First log ID'
                  BARRESULTS:
                    type: array
                    items:
                      type: object
                      properties:
                        BARID:
                          type: integer
                          format: int32
                          description: Request ID for Informix onarchive actions
                        BUTYPE:
                          type: integer
                          format: int32
                          description: 'Onbar: Action type'
                        RC:
                          type: integer
                          format: int64
                          description: 'Onbar: Status of a backup action'
                        DBSPACES:
                          type: string
                          maxLength: 18
                          description: 'Onbar: Name of a backup object'
                        BULEVEL:
                          type: integer
                          format: int32
                          description: 'Onbar: Backup level'
                        BUSTART:
                          type: string
                          maxLength: 19
                          description: 'Onbar: Start date time of an action'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
