openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSLG_READ_FILE_ALV:
    post:
      tags:
      - SLO2_ALV
      operationId: /rfc/RSLG_READ_FILE_ALV
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FILE_INFO:
                  type: object
                  properties:
                    WHICHLOG:
                      type: string
                      maxLength: 1
                      description: 'SysLog: File selection  enumValues: C=central (aggregate) SysLog file,A=all remote SysLog files (including the local one),R=remote SysLog file,L=lokal SysLog file'
                      enum:
                      - C
                      - A
                      - R
                      - L
                    POS:
                      type: integer
                      format: int64
                      description: 'SysLog: File offset'
                    MAXSIZE:
                      type: integer
                      format: int64
                      description: 'SysLog: File offset'
                    WRAPCOUNT:
                      type: integer
                      format: int64
                      description: 'SysLog: File number'
                    NOOFFILES:
                      type: integer
                      format: int64
                      description: 'SysLog: Number of files  enumValues: 1='
                      enum:
                      - '1'
                    READ_POSI:
                      type: integer
                      format: int64
                      description: 'SysLog: File offset'
                    OLDFILENAM:
                      type: string
                      maxLength: 79
                      description: 'SysLog: Name of the old SysLog file'
                    ACTFILENAM:
                      type: string
                      maxLength: 79
                      description: 'SysLog: Name of current SysLog file'
                    OLDCFILENO:
                      type: integer
                      format: int64
                      description: 'SysLog: File number'
                    ACTCFILENO:
                      type: integer
                      format: int64
                      description: 'SysLog: File number'
                    RECORDSIZE:
                      type: integer
                      format: int64
                      description: 'SysLog: File offset'
                SELECTION:
                  type: object
                  properties:
                    WHICHLOG:
                      type: string
                      maxLength: 1
                      description: 'SysLog: File selection  enumValues: C=central (aggregate) SysLog file,A=all remote SysLog files (including the local one),R=remote SysLog file,L=lokal SysLog file'
                      enum:
                      - C
                      - A
                      - R
                      - L
                    RFCDEST:
                      type: string
                      maxLength: 32
                      description: 'SysLog: Instance from which the SysLog is retrieved via RFC'
                    FILE_NO:
                      type: integer
                      format: int64
                      description: 'SysLog: File number for start (of the search)'
                    POS:
                      type: integer
                      format: int64
                      description: 'SysLog: Start position in the file (for search)'
                    EFILE_NO:
                      type: integer
                      format: int64
                      description: 'SysLog: File number for end of search'
                    EPOS:
                      type: integer
                      format: int64
                      description: 'SysLog: End position in file for search'
                    DATE:
                      type: string
                      format: date
                      description: 'SysLog: Search start date'
                    TIME:
                      type: string
                      maxLength: 6
                      description: 'SysLog: Search start time'
                    STARTDATE:
                      type: string
                      maxLength: 16
                      description: 'SysLog: Start date and time'
                    EDATE:
                      type: string
                      format: date
                      description: 'SysLog: Search end date'
                    ETIME:
                      type: string
                      maxLength: 6
                      description: 'SysLog: Search end time'
                    STOP_DATE:
                      type: string
                      maxLength: 16
                      description: 'SysLog: End date and time'
                    INST:
                      type: string
                      maxLength: 20
                      description: 'SysLog: Instance name (System & Computer & Number)'
                    DEVCLASS:
                      type: string
                      maxLength: 30
                      description: Package
                    CLASID1:
                      type: string
                      maxLength: 1
                      description: 'System Log: Classification ID for Messages'
                    CLASID2:
                      type: string
                      maxLength: 1
                      description: 'System Log: Classification ID for Messages'
                    CLASID3:
                      type: string
                      maxLength: 1
                      description: 'System Log: Classification ID for Messages'
                    CLASID4:
                      type: string
                      maxLength: 1
                      description: 'System Log: Classification ID for Messages'
                    CLASID5:
                      type: string
                      maxLength: 1
                      description: 'System Log: Classification ID for Messages'
                    CLASID6:
                      type: string
                      maxLength: 1
                      description: 'System Log: Classification ID for Messages'
                    CLASID_CNT:
                      type: integer
                      format: int64
                      description: 'SysLog: No. of problem classes as selection critieria'
                    TASK:
                      type: string
                      maxLength: 2
                      description: 'System log: SAP process name'
                    TERM:
                      type: string
                      maxLength: 8
                      description: Terminal name
                    USER:
                      type: string
                      maxLength: 12
                      description: 'System log: SAP user name'
                    TCODE:
                      type: string
                      maxLength: 20
                      description: Transaction Code
                    REPNA:
                      type: string
                      maxLength: 40
                      description: Program Name
                    INTERNRECS:
                      type: string
                      maxLength: 1
                      description: 'SysLog: Selection of whether with internal records  enumValues: X=Selected,.=Not selected'
                      enum:
                      - X
                      - .
                    PARAREC:
                      type: string
                      maxLength: 1
                      description: 'SysLog: Selection with parameter records  enumValues: X=Selected,.=Not selected'
                      enum:
                      - X
                      - .
                    LOGT:
                      type: string
                      maxLength: 1
                      description: System log entry type
                    LINES:
                      type: integer
                      format: int64
                      description: 'SysLog: Number of lines selected'
                    MSGINC:
                      type: string
                      maxLength: 1
                      description: 'SysLog: only the indicated messages should be processed  enumValues: X=Selected,.=Not selected'
                      enum:
                      - X
                      - .
                    MSGLST:
                      type: string
                      maxLength: 60
                      description: 'SysLog: List of message numbers'
                    SELTYP:
                      type: string
                      maxLength: 3
                      description: Process Type
                    SELNUM:
                      type: string
                      maxLength: 3
                      description: Process Number
                GT_TOP:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 132
                        description: User trace line
                SYSLOG_IN_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      FILE_NO:
                        type: integer
                        format: int64
                        description: 'SysLog: File number'
                      POS:
                        type: integer
                        format: int64
                        description: 'SysLog: File offset'
                      SENDER_ID:
                        type: string
                        maxLength: 20
                        description: 'SysLog: Instance name (System & Computer & Number)'
                      RECEVIVE_T:
                        type: string
                        maxLength: 16
                        description: System log time stamp
                      POS_CREATT:
                        type: string
                        maxLength: 16
                        description: System log time stamp
                      CENTDATA:
                        type: string
                        maxLength: 180
                        description: 'SysLog: LIKE RSLGENTR structure'
                      AREA:
                        type: string
                        maxLength: 2
                        description: 'System Log: Group of 36 System Log Messages'
                      SUBID:
                        type: string
                        maxLength: 1
                        description: 'System log: Third character of message name'
                      SLGFTYP:
                        type: string
                        maxLength: 4
                        description: 'SysLog: LIKE structure RSLGETYP'
                      SLGTTYP:
                        type: string
                        maxLength: 2
                        description: 'System log: SAP process name'
                      CLASID:
                        type: string
                        maxLength: 1
                        description: 'System Log: Classification ID for Messages'
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      T100ARBGB:
                        type: string
                        maxLength: 20
                        description: Application Area
                      T100MSGNR:
                        type: string
                        maxLength: 3
                        description: Message number
                      ERRNO:
                        type: string
                        maxLength: 6
                        description: Operating system or C library errno
                      MONBEW:
                        type: string
                        maxLength: 2
                        description: Key for syslog monitoring category
                      MONKAT:
                        type: string
                        maxLength: 2
                        description: Key for syslog monitoring category
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COUNTERS:
                    type: object
                    properties:
                      TOTAL:
                        type: integer
                        format: int64
                        description: 'SysLog: Total number of records analyzed'
                      GOOD:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of records selected'
                      PRINTED:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of SysLog entries printed'
                      OLD_FILE:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of files whose records were not selected'
                      WRO_START:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of eitries before the start position'
                      WRO_STOP:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of entries after stop position'
                      WRO_BEGIN:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of obsolete entries'
                      WRO_END:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of too recent entries'
                      WRO_FTYP:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of entries with wrong ID'
                      WRO_DEVC:
                        type: integer
                        format: int64
                        description: 'SysLog: number of entries with wrong development class'
                      WRO_CLASID:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of entries with wrong problem class'
                      WRO_TASK:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of entries with wrong process type'
                      WRO_TERM:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of entries with wrong terminal'
                      WRO_USER:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of entries with wrong user'
                      WRO_TCODE:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of entries with wrong transaction code'
                      WRO_REPNA:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of entries with wrong program name'
                      WRO_TABE:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of entries with wrong message ID'
                      WRO_INST:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of entries from wrong instance'
                      WRO_PARARE:
                        type: integer
                        format: int64
                        description: 'SysLog: Number of unwanted parameter entries'
                      INTERN_SKP:
                        type: integer
                        format: int64
                        description: 'SysLog: number of internal entries'
                  CUR_POS:
                    type: integer
                    format: int64
                  CUR_WC:
                    type: integer
                    format: int64
                  END_INFO:
                    type: string
                    maxLength: 79
                  END_REASON:
                    type: string
                    maxLength: 1
                  LOST_ENTRIES:
                    type: integer
                    format: int64
                  OLD_POS:
                    type: integer
                    format: int64
                  OLD_WC:
                    type: integer
                    format: int64
                  GT_TOP:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 132
                          description: User trace line
                  SYSLOG_IN_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        FILE_NO:
                          type: integer
                          format: int64
                          description: 'SysLog: File number'
                        POS:
                          type: integer
                          format: int64
                          description: 'SysLog: File offset'
                        SENDER_ID:
                          type: string
                          maxLength: 20
                          description: 'SysLog: Instance name (System & Computer & Number)'
                        RECEVIVE_T:
                          type: string
                          maxLength: 16
                          description: System log time stamp
                        POS_CREATT:
                          type: string
                          maxLength: 16
                          description: System log time stamp
                        CENTDATA:
                          type: string
                          maxLength: 180
                          description: 'SysLog: LIKE RSLGENTR structure'
                        AREA:
                          type: string
                          maxLength: 2
                          description: 'System Log: Group of 36 System Log Messages'
                        SUBID:
                          type: string
                          maxLength: 1
                          description: 'System log: Third character of message name'
                        SLGFTYP:
                          type: string
                          maxLength: 4
                          description: 'SysLog: LIKE structure RSLGETYP'
                        SLGTTYP:
                          type: string
                          maxLength: 2
                          description: 'System log: SAP process name'
                        CLASID:
                          type: string
                          maxLength: 1
                          description: 'System Log: Classification ID for Messages'
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        T100ARBGB:
                          type: string
                          maxLength: 20
                          description: Application Area
                        T100MSGNR:
                          type: string
                          maxLength: 3
                          description: Message number
                        ERRNO:
                          type: string
                          maxLength: 6
                          description: Operating system or C library errno
                        MONBEW:
                          type: string
                          maxLength: 2
                          description: Key for syslog monitoring category
                        MONKAT:
                          type: string
                          maxLength: 2
                          description: Key for syslog monitoring category
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
