Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

Available from CRM.COM R11.0.0

Table of Contents
maxLevel2

POST communication_center/events/create

This method creates a new incoming call event on the Communication Centre screen based on the incoming call's phone number and the call agent who will accept this call. A single event can be created by each call

Resource URL

Parameters

Name

Type

Description

token

(mandatory)

String

The token retrieved from the login method

caller_phone_number

(mandatory)

StringThe phone number of the incoming call for which a new events should be created in the Communication Centre screen

 

call_agent_extension

(mandatory)

StringThe phone extension number of the call agent (User) who will accept the incoming phone call.

Restrictions

  • It is mandatory to specify one of the semi-optional parameters.

Response Data

NameTypeDescription
codeStringThe error code returned in case of an unsuccessful event
descriptionStringThe error description
messageStringThe error message

 

 

Examples

HTTP Method: POST

Request:

Body:

 

Expand
titleExample 1
Code Block
{
"token":"A54AD46067294C4A9AD04C2D6BBF0232",
"caller_phone_number":"99669365",
"call_agent_extension":"12345"
}

 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
  { "data": {}, "status": { "code": "OK", "description": "", "message": "" } } Panel
nameblue

Child pages (Children Display)
excerpttrue