openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/_CHAT_CHANGED:
    post:
      tags:
      - CRM_ICI_INBOUND
      summary: 'ICI SOAP service: changes in chat'
      operationId: /rfc/_CHAT_CHANGED
      requestBody:
        content:
          application/json:
            schema:
              properties:
                _APP_IDS:
                  type: array
                  items:
                    type: string
                    description: ''
                _CHAT_SESSION:
                  type: object
                  properties:
                    _TITLE:
                      type: string
                      description: ''
                    _CHAT_SESSION_ID:
                      type: string
                      description: ''
                    _CHAT_STATUS:
                      type: object
                      properties:
                        _ID:
                          type: string
                          description: ID of the text
                        _DESCRIPTION:
                          type: string
                          description: text itseld
                    _PROCESSING_STATUS:
                      type: object
                      properties:
                        _ID:
                          type: string
                          description: ID of the text
                        _DESCRIPTION:
                          type: string
                          description: text itseld
                    _ATTACHED_DATA:
                      type: string
                      description: ''
                    _CHAT_LINE_ID:
                      type: string
                      description: ''
                    _CHAT_PARTICIPANTS:
                      type: array
                      items:
                        type: string
                        description: ''
                    _CAPABILITY_LIST:
                      type: array
                      items:
                        type: integer
                        format: int32
                        description: ''
              required:
              - _APP_IDS
              - _CHAT_SESSION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  _RESPONSE:
                    type: string
                    description: 'ICI specification: description of a chat session'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
