openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_ADM_READ_AUDIT_LOG:
    post:
      tags:
      - SDB6ADM
      summary: 'DB6: read audit log entries'
      operationId: /rfc/DB6_ADM_READ_AUDIT_LOG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                FROM_DATE:
                  type: string
                  format: date
                  description: Date and time, current (application server) date
                FROM_TIME:
                  type: string
                  maxLength: 6
                  description: Date and Time, Current Application Server Time
                SYSID:
                  type: string
                  maxLength: 8
                  description: Name of SAP R/3 System
                TO_DATE:
                  type: string
                  format: date
                  description: Date and time, current (application server) date
                TO_TIME:
                  type: string
                  maxLength: 6
                  description: Date and Time, Current Application Server Time
                AUDIT_LOG:
                  type: array
                  items:
                    type: object
                    properties:
                      MODDATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      MODTIME:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      LOCAL_SYS:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      REMOTE_SYS:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      ACTION:
                        type: string
                        maxLength: 72
                        description: ''
                      CMD:
                        type: string
                        maxLength: 70
                        description: Function code that PAI triggered
                      OBJECT:
                        type: string
                        maxLength: 255
                        description: ''
                      USERNAME:
                        type: string
                        maxLength: 12
                        description: User Name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AUDIT_LOG:
                    type: array
                    items:
                      type: object
                      properties:
                        MODDATE:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        MODTIME:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        LOCAL_SYS:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        REMOTE_SYS:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        ACTION:
                          type: string
                          maxLength: 72
                          description: ''
                        CMD:
                          type: string
                          maxLength: 70
                          description: Function code that PAI triggered
                        OBJECT:
                          type: string
                          maxLength: 255
                          description: ''
                        USERNAME:
                          type: string
                          maxLength: 12
                          description: User Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
