Call Segments
JSON Representation
"id": "804dbbc2-c4e3-47f2-96b9-b8262d542e7c",
"type": "INTERNAL",
"callerId": {
"id": "c9450235-0f6d-4e0f-bb3b-3fef010d8617",
"name": "Michael Y",
"number": "4224"
},
"did": "s",
"onHold": false,
"recording": false,
"incoming": true,
}
Property | Type | Description |
---|---|---|
id | String | The id of the call segment. |
type | String | The Type of the call segment. Values are Internal (Call Segment is bound to an internal extension), and External (Call Segment is bound to an external source). |
callerId:id | String | The id of the call segment's caller id object. |
callerId:name | String | The caller id name of the call segment. |
callerId:number | String | The caller id number of the call segment. |
did | String | The number the caller used to enter the phone system, or null if the call segment was created in response to a dial, or no DID could be determined for the call. |
onHold | Boolean | Specifies if the current call segment is on hold or not. |
recording | Boolean | Specifies if the call segment is currently being recorded or not. |
incoming | Boolean | Species if the call segment is being dialed by another call segment (i.e. receiving a call) |
Root Resource Paths
Paths used to access sets of the resource, in relation to parent resources.
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments | |
---|---|
Description | Provides access to all call segments in a specified core server. Parameters:
Errors:
|
GET | Gets all call segments in the specified core server. |
|
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/[{extensions_id} | getByName/{extension_number}]/callSegments | |
Description | Provides access to all call segments bound to a specified extension. Parameters:
Errors:
|
GET | Gets all call segment bound to a specified extension. |
| |
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments/{call_segment_id}/dialingToCallSegments | |
Description | Provides access to all call segments the specified call segment is dialing. Parameters:
Errors:
|
GET | Gets all call segments the specified call segment is dialing. |
Instance Resource Paths
Paths used to access a specific instance of the resource.
{root_resource_path}/{call_segment_id} | |
---|---|
Description | Provides access to a specified call segment, by call segment id. Parameters:
Errors:
|
GET | Gets the specified call segment. |
| |
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments/{call_segment_id}/dialingFromCallSegment | |
Description | Provides access to the call segment that is dialing the specified call segment. Parameters:
Errors:
|
GET | Gets the call segment that is dialing the specified call segment. |
| |
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/callSegments/{call_segment_id}/linkedCallSegment | |
Description | Provides access to the call segment that the specified call segment is linked to. Parameters:
Errors:
|
GET | Gets the call segment that the specified call segment is linked to. |
Action Paths
Actions that can be performed on this resource.
{instance_resource_path}/transfer | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Description | Transfers the call segment, that is bound to the specified call segment. Parameters:
Errors:
| |||||||||
JSON | { "destinationNumber": "18005555555", "attended" : false } Properties:
| |||||||||
POST | Transfers the call segment, that is bound to the specified call segment. | |||||||||
{instance_resource_path}/kick | ||||||||||
Description | Kicks the call segment from it's current conference room. Parameters:
Errors:
| |||||||||
{instance_resource_path}/mute | ||||||||||
Description | Mutes the call segment in a conference room. Parameters:
Errors:
| |||||||||
{instance_resource_path}/unmute | ||||||||||
| Unmutes the call segment in the conference room. Parameters:
Errors:
|