This page describes the representation of the resources used by the Extension PhoneCallEvent Service.
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
PhoneCallEvent resource
A phone call event is represented by the UnifiedAPI as a PhoneCallEvent resource.
JSON representation
The example below contains the PhoneCallEvent in JSON representation. All fields are fictitious.
{ "type": "0", "id": "NqeyDRqo4FtabmFj8gNWq3hsiGNYyq", "method": "0", "note": "My extension event is awesome", "url": "http://mynEvent.com/SaveMyPhoneCallDetails", "status": "1", "modified": "2012-07-10T18:16:12+03:00", "links": {"self":"https://x.x.x.x/uapi/extensions/@me/0003*210/phoneCallEvents/0/NqeyDRqo4FtabmFj8gNWq3hsiGNYyq"} }
PhoneCallEvent fields
Name | Type | Description |
---|---|---|
type | Number | Type of the Phone Call Event. |
id | String | Id of the Phone Call Event. Must be alpha-numeric and 1 to 255 characters long. |
url | String | The URL that is accessed when the extension receives, makes or terminates a phone call. Must be encoded using the RFC 3986. |
method | Number | The HTTP method used by the server to access the URL when an event occurs. |
status | Number | The status of the event. |
note | String | Notes about the event. |
modified | Date | Date when the event was last modified. |
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.