openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MEREP_LOG_TO_WL_EXIST:
    post:
      tags:
      - MEREP_MONITOR
      summary: Check Existence of Parent Worklist for a Single Log
      operationId: /rfc/MEREP_LOG_TO_WL_EXIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LOG_MESSAGE:
                  type: object
                  properties:
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    RUNNUM:
                      type: integer
                      format: int64
                      description: Run Number
                    MSGCNTR:
                      type: integer
                      format: int32
                      description: Counter for Log Messages
                    RUNTIMECNTR:
                      type: integer
                      format: int32
                      description: Counter (Within the Execution of the Main Job)
                    MSGTYPE:
                      type: string
                      maxLength: 1
                      description: 'Message Type for Logs  enumValues: A=Abort,W=Warning,N=Notice,E=Error,I=Information,S=Success,D=Debug'
                      enum:
                      - A
                      - W
                      - N
                      - E
                      - I
                      - S
                      - D
                    MSGID:
                      type: string
                      maxLength: 20
                      description: Message Class
                    MSGNO:
                      type: integer
                      format: int64
                      description: Message Number
                    MSG_V1:
                      type: string
                      maxLength: 50
                      description: Message Variable
                    MSG_V2:
                      type: string
                      maxLength: 50
                      description: Message Variable
                    MSG_V3:
                      type: string
                      maxLength: 50
                      description: Message Variable
                    MSG_V4:
                      type: string
                      maxLength: 50
                      description: Message Variable
                    TIMESTAMP:
                      type: integer
                      format: int64
                      description: Exact Execution Time
                    LOCATION:
                      type: integer
                      format: int64
                      description: Location ID of Log Creation
                    PASSPORT:
                      type: string
                      maxLength: 50
                      description: Passport to Identify a Process
                    ALERT_FLAG:
                      type: string
                      maxLength: 1
                      description: Flag = X, Data Record was Read from CCMS
              required:
              - LOG_MESSAGE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  WL_TYPE:
                    type: string
                    maxLength: 2
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
