openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TWPN_LOG:
    post:
      tags:
      - PWP2
      operationId: /rfc/TWPN_LOG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MESSAGE_TEXT:
                  type: string
                  maxLength: 255
                MESSAGE_TYPE:
                  type: string
                  maxLength: 1
                LOGDAT:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGDATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      MSGTIME:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      MSGTYPE:
                        type: string
                        maxLength: 1
                        description: Entry type (I/W/E)
                      MESSAGE:
                        type: string
                        maxLength: 255
                        description: Message long text
              required:
              - MESSAGE_TEXT
              - MESSAGE_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LOGDAT:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGDATE:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        MSGTIME:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        MSGTYPE:
                          type: string
                          maxLength: 1
                          description: Entry type (I/W/E)
                        MESSAGE:
                          type: string
                          maxLength: 255
                          description: Message long text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
