Log entry Structure
Base Attributes
Attribute | Type | Example |
---|---|---|
id The ID of the log entry |
Integer | |
timestamp The time the call took place |
Timestamp | 2016-12-25 09:42:00 +0000 |
duration The length of the call in seconds |
Integer | 126 |
uuid The UUID of the call |
Uuid | 2f5e6694-7fb9-401e-ac92-3f9e6941beec |
iuuid The iUUID for this call |
Uuid | 017dabc1-3f4f-47ab-ab7d-86e2ed0de679 |
source.id The source of the call |
String | 01202123456 |
source.name A name for the source |
String | Banana Phone |
source.type The type of the source |
String | UK Freephone |
destination.id The destination of the call |
String | 08000123123 |
destination.name A name for the destination |
String | Banana Phone |
destination.type The type of the destination |
String | UK Freephone |
destination.e164 The E164 formatted number for an outgoing call |
String | 441234123123 |
Extended Attributes
Attribute | Type | Example |
---|---|---|
call_type The type of the call |
String | outgoing |
cost The cost of the call |
Decimal | 0.231 |
status The status of the call |
String | ANSWERED |
has_recording? Whether or not this call has a recording |
Integer | 1 |
Expansions
Expansions are embedded structures of other objects that are related to the structure that you're viewing. Which expansions are returned by a specific action are shown on that action's documentation however some actions allow you to choose which expansions are returned.
Attribute | Type | Example |
---|---|---|
source_channel_extension The unit for the user |
Hash | Channel extension structure |
destination_channel_extension The unit for the user |
Hash | Channel extension structure |