openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_EVT_LOG_FLUSH:
    post:
      tags:
      - SWF_EVT_INTERN
      operationId: /rfc/SWF_EVT_LOG_FLUSH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_ENTRIES:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      LOGGUID:
                        type: string
                        format: byte
                        description: GUID in 'RAW' format
                      EVENT_ID:
                        type: integer
                        format: int64
                        description: ID of an event instance
                      OBJCATEG:
                        type: string
                        maxLength: 2
                        description: Object Type Category
                      OBJTYPE:
                        type: string
                        maxLength: 32
                        description: Type of Objects in Persistent Object References
                      EVENT:
                        type: string
                        maxLength: 32
                        description: Event
                      OBJKEY:
                        type: string
                        maxLength: 70
                        description: Instance Ident. in BOR Compat. Persistent Object References
                      RECTYPE:
                        type: string
                        maxLength: 32
                        description: Name of Receiver Type
                      RECCATEG:
                        type: string
                        maxLength: 2
                        description: Category of Objects in Persistent Object References
                      RECTYPEID:
                        type: string
                        maxLength: 32
                        description: Type of Objects in Persistent Object References
                      RECKEY:
                        type: string
                        maxLength: 70
                        description: Instance Ident. in BOR Compat. Persistent Object References
                      ERROR:
                        type: integer
                        format: int64
                        description: 'Event Trace: Error Number'
                      RECMODE:
                        type: string
                        maxLength: 1
                        description: Indicator for Event Handler
                      RECCLASS:
                        type: string
                        maxLength: 30
                        description: Class Name of Handler
                      RECINTERF:
                        type: string
                        maxLength: 30
                        description: Interface Name of Handler
                      RECMETH:
                        type: string
                        maxLength: 30
                        description: Name of Handler Method
                      RECMETYP:
                        type: string
                        maxLength: 1
                        description: Method Type
                      RECFB:
                        type: string
                        maxLength: 30
                        description: Name of Receiver Function Module
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      CHECKFB:
                        type: string
                        maxLength: 30
                        description: Name of Check Function Module
                      RECGETFB:
                        type: string
                        maxLength: 30
                        description: Name of Receiver Type Function Module
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: string
                        maxLength: 12
                        description: Agent ID in Organizational Management
                      CREA_STMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      USERNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      TIMESTAMP:
                        type: integer
                        format: int64
                        description: UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun)
                      PROGNAME:
                        type: string
                        maxLength: 40
                        description: 'ABAP Program: Current Main Program'
                      TRFC_ID:
                        type: string
                        maxLength: 24
                        description: TRFC_ID of triggered receiver function module
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
              required:
              - IM_ENTRIES
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
