openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/_MESSAGE_CHANGED:
    post:
      tags:
      - CRM_ICI_INBOUND
      summary: 'ICI SOAP service: message changed'
      operationId: /rfc/_MESSAGE_CHANGED
      requestBody:
        content:
          application/json:
            schema:
              properties:
                _APP_IDS:
                  type: array
                  items:
                    type: string
                    description: ''
                _MESSAGE:
                  type: object
                  properties:
                    _ORIGINATOR:
                      type: string
                      description: address of source
                    _ANSWERED:
                      type: string
                      description: Flag that message was answered
                    _READ:
                      type: string
                      description: flag that message was read
                    _FOLDER:
                      type: string
                      description: container ID. folder where message can be found
                    _NOTIFICATION:
                      type: string
                      description: flag that message is a notification
                    _ORIGINAL_MESSAGE_ID:
                      type: string
                      description: ''
                    _FORWARDED:
                      type: string
                      description: ''
                    _MESSAGE_ID:
                      type: string
                      description: ''
                    _MESSAGE_STATUS:
                      type: object
                      properties:
                        _ID:
                          type: string
                          description: ID of the text
                        _DESCRIPTION:
                          type: string
                          description: text itseld
                    _SUBJECT:
                      type: string
                      description: ''
                    _MESSAGE_TEXT:
                      type: string
                      description: ''
                    _PROCESSING_STATUS:
                      type: object
                      properties:
                        _ID:
                          type: string
                          description: ID of the text
                        _DESCRIPTION:
                          type: string
                          description: text itseld
                    _ATTACHED_DATA:
                      type: string
                      description: ''
                    _ATTACHMENTS:
                      type: array
                      items:
                        type: string
                        description: ''
                    _CAPABILITY_LIST:
                      type: array
                      items:
                        type: integer
                        format: int32
                        description: ''
              required:
              - _APP_IDS
              - _MESSAGE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  _RESPONSE:
                    type: string
                    description: 'ICI spezification: complex structure for message'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
