POST communication_center/events/create

Available from CRM.COM R11.0.0

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

 Example 1

HTTP Method: POST

Request


Body

{
"token":"A54AD46067294C4A9AD04C2D6BBF0232",
"caller_phone_number":"99669365",
"call_agent_extension":"12345"
}

 

Response

{
  "data": {},
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}