openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_BACKUPHISTORY_LOGS:
    post:
      tags:
      - SDB6BACKUP
      summary: 'DB6: Archive History Contents'
      operationId: /rfc/DB6_PM_BACKUPHISTORY_LOGS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                DAYS:
                  type: integer
                  format: int32
                  description: Program ID 2 see type pool db6jo
                PARTITN:
                  type: integer
                  format: int32
                  description: Partition Number
                PROGID1:
                  type: string
                  maxLength: 5
                  description: Program ID 1 see type pool db6jo
                PROGID2:
                  type: string
                  maxLength: 5
                  description: Program ID 2 see type pool db6jo
                LFAXDATA:
                  type: array
                  items:
                    type: object
                    properties:
                      MOVEDAT:
                        type: string
                        format: date
                        description: Log file move date
                      MOVETIM:
                        type: string
                        maxLength: 6
                        description: Log file move time
                      PARTITN:
                        type: integer
                        format: int32
                        description: 'DB6: Partition Number'
                      LOGNAME:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      TARGET:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      RETURNCODE:
                        type: integer
                        format: int32
                        description: 'DB6: Return Code'
                      LINECOLOR:
                        type: string
                        maxLength: 30
                        description: 'ALV control: Field name with simple row color coding'
                      LOCATION:
                        type: string
                        maxLength: 255
                        description: 'DB6: File Path'
                      CHAIN:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      ARCHTYPE:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      STATUS:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      EID:
                        type: integer
                        format: int32
                        description: ''
              required:
              - DAYS
              - PARTITN
              - PROGID1
              - PROGID2
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LFAXDATA:
                    type: array
                    items:
                      type: object
                      properties:
                        MOVEDAT:
                          type: string
                          format: date
                          description: Log file move date
                        MOVETIM:
                          type: string
                          maxLength: 6
                          description: Log file move time
                        PARTITN:
                          type: integer
                          format: int32
                          description: 'DB6: Partition Number'
                        LOGNAME:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        TARGET:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        RETURNCODE:
                          type: integer
                          format: int32
                          description: 'DB6: Return Code'
                        LINECOLOR:
                          type: string
                          maxLength: 30
                          description: 'ALV control: Field name with simple row color coding'
                        LOCATION:
                          type: string
                          maxLength: 255
                          description: 'DB6: File Path'
                        CHAIN:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        ARCHTYPE:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        STATUS:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        EID:
                          type: integer
                          format: int32
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
