openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXMI_XMB_SYSLOG_READ:
    post:
      tags:
      - SXMB
      summary: Reading a System Log Section
      operationId: /rfc/SXMI_XMB_SYSLOG_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXTERNAL_USER_NAME:
                  type: string
                  maxLength: 16
                  description: External User Name
                FROM_DATE:
                  type: string
                  format: date
                  default: SPACE
                  description: Read System Log From This Date
                FROM_TIME:
                  type: string
                  default: ' '
                  maxLength: 6
                  description: Read System Log From This Time
                LOOKING_FOR_USER:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: ABAP System, User Logon Name
                PARA_RECS:
                  type: string
                  default: X
                  maxLength: 1
                  description: With Parameter Records
                SERVER_NAME:
                  type: string
                  default: ' '
                  maxLength: 20
                  description: Server From Which System Log is Read
                TO_DATE:
                  type: string
                  format: date
                  default: SPACE
                  description: Read System Log Up to This Date
                TO_TIME:
                  type: string
                  default: ' '
                  maxLength: 6
                  description: Read System Log Up to This Time
                SYSLOG_TBL:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: Text, 255 Characters
              required:
              - EXTERNAL_USER_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SYSLOG_TBL:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: Text, 255 Characters
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
