openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/_PHONE_CALL_CHANGED:
    post:
      tags:
      - CRM_ICI_INBOUND
      summary: 'ICI SOAP service: when attribute of a phone call changed'
      operationId: /rfc/_PHONE_CALL_CHANGED
      requestBody:
        content:
          application/json:
            schema:
              properties:
                _APP_IDS:
                  type: array
                  items:
                    type: string
                    description: ''
                _PHONE_CALL:
                  type: object
                  properties:
                    _DIALED_NUMBER:
                      type: string
                      description: ''
                    _LINE_NUMBER:
                      type: string
                      description: ''
                    _CALL_STATUS:
                      type: object
                      properties:
                        _ID:
                          type: string
                          description: ID of the text
                        _DESCRIPTION:
                          type: string
                          description: text itseld
                    _INTERNAL:
                      type: string
                      description: ''
                    _CALL_HANDLE:
                      type: string
                      description: ''
                    _TRUNK_ID:
                      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: ''
                    _INBOUND:
                      type: string
                      description: ''
                    _REMOTE_NUMBERS:
                      type: array
                      items:
                        type: string
                        description: ''
                    _CAPABILITY_LIST:
                      type: array
                      items:
                        type: integer
                        format: int32
                        description: ''
              required:
              - _APP_IDS
              - _PHONE_CALL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  _RESPONSE:
                    type: string
                    description: 'ICI specification: complex type phone call'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
