openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BDL_READ_LOG:
    post:
      tags:
      - BDL3
      summary: Read message log according to given selection criteria
      operationId: /rfc/BDL_READ_LOG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ENDDATE:
                  type: string
                  format: date
                  default: '99991231'
                ENDTIME:
                  type: string
                  default: '235959'
                  maxLength: 6
                MANDANT:
                  type: string
                  default: '*'
                  maxLength: 3
                SESSIONNR:
                  type: string
                  default: '*'
                  maxLength: 10
                SEVERITY:
                  type: string
                  default: I
                  maxLength: 1
                SHOWUNSPECIFIC:
                  type: string
                  default: X
                  maxLength: 1
                STARTDATE:
                  type: string
                  format: date
                  default: '19990801'
                STARTTIME:
                  type: string
                  default: '000000'
                  maxLength: 6
                MSGLOG:
                  type: array
                  items:
                    type: object
                    properties:
                      SESSIONNR:
                        type: string
                        maxLength: 10
                        description: Character Field Length = 10
                      MANDANT:
                        type: string
                        maxLength: 3
                        description: 3-Byte field
                      TIMESTAMP:
                        type: string
                        maxLength: 14
                        description: ABAP Time Stamp
                      SEQNO:
                        type: integer
                        format: int32
                        description: Natural number
                      CONTRACT:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      DESCRIPTIO:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      SEVERITY:
                        type: string
                        maxLength: 1
                        description: 'Severity of message  enumValues: D=Debug message,E=Error Message,I=Information message,B=Bug message,W=Warning message'
                        enum:
                        - D
                        - E
                        - I
                        - B
                        - W
                      USERNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      REPORT:
                        type: string
                        maxLength: 40
                        description: Name of running program or report
                      REPLINE:
                        type: integer
                        format: int32
                        description: Natural number
                      TEXT:
                        type: string
                        maxLength: 100
                        description: Character 100
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MSGLOG:
                    type: array
                    items:
                      type: object
                      properties:
                        SESSIONNR:
                          type: string
                          maxLength: 10
                          description: Character Field Length = 10
                        MANDANT:
                          type: string
                          maxLength: 3
                          description: 3-Byte field
                        TIMESTAMP:
                          type: string
                          maxLength: 14
                          description: ABAP Time Stamp
                        SEQNO:
                          type: integer
                          format: int32
                          description: Natural number
                        CONTRACT:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        DESCRIPTIO:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        SEVERITY:
                          type: string
                          maxLength: 1
                          description: 'Severity of message  enumValues: D=Debug message,E=Error Message,I=Information message,B=Bug message,W=Warning message'
                          enum:
                          - D
                          - E
                          - I
                          - B
                          - W
                        USERNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        REPORT:
                          type: string
                          maxLength: 40
                          description: Name of running program or report
                        REPLINE:
                          type: integer
                          format: int32
                          description: Natural number
                        TEXT:
                          type: string
                          maxLength: 100
                          description: Character 100
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
