openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SM02_ADD_MESSAGE:
    post:
      tags:
      - SM02
      operationId: /rfc/SM02_ADD_MESSAGE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLIENT:
                  type: string
                  default: ' '
                  maxLength: 3
                DELETE_DATE:
                  type: string
                  format: date
                  default: SPACE
                  description: Delete Date
                DELETE_TIME:
                  type: string
                  default: '230000'
                  maxLength: 6
                  description: Delete Time
                EXPIRATION_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Expiry Date
                EXPIRATION_TIME:
                  type: string
                  default: '230000'
                  maxLength: 6
                  description: Expiry Time
                LANGU:
                  type: string
                  default: ' '
                  maxLength: 1
                MESSAGE:
                  type: string
                  maxLength: 60
                MESSAGE2:
                  type: string
                  maxLength: 60
                MESSAGE3:
                  type: string
                  maxLength: 60
                SERVERNAME:
                  type: string
                  maxLength: 20
              required:
              - MESSAGE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MESSAGE_ID:
                    type: integer
                    format: int32
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
