openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WP_ERROR_MESSAGE:
    post:
      tags:
      - WP_TOOLS
      operationId: /rfc/WP_ERROR_MESSAGE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: ' '
                  maxLength: 2
                  description: Language ID (ISO Standard)
                MSGID:
                  type: string
                  maxLength: 20
                  description: Messages, Message Class
                MSGNO:
                  type: integer
                  format: int64
                  description: Messages, Message Number
                MSGTY:
                  type: string
                  maxLength: 1
                  description: Messages, Message Type
                MSGV1:
                  type: string
                  maxLength: 50
                  description: Messages, Message Variable
                MSGV2:
                  type: string
                  maxLength: 50
                  description: Messages, Message Variable
                MSGV3:
                  type: string
                  maxLength: 50
                  description: Messages, Message Variable
                MSGV4:
                  type: string
                  maxLength: 50
                  description: Messages, Message Variable
              required:
              - MSGID
              - MSGNO
              - MSGTY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_MSG:
                    type: string
                    maxLength: 132
                    description: Text (length 132)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
