Methods

Objects

analytics/calls

Calls Analytics

Method Description
analytics/calls.cli_countries Calls origins by country
analytics/calls.history Calls count, duration, debit and credit over time.
analytics/calls.inbound_did Analytics by DID
analytics/calls.outbound_countries Outbound destinations by country
analytics/calls.outbound_destinations Outbound destinations by billing label
analytics/calls.summary Summary of your calls count, duration, debit and credit.
analytics/calls.top_apps Top apps

Methods

analytics/calls.cli_countries

Description

Calls origins by country

Signature

method: analytics/calls.cli_countries

params: [string sort, string from, string to, int limit]

Parameters

Parameter Type Description NULL
sort string Sort order.
Values: "COUNT", "DURATION"
NO
from string Date from
Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00")
NO
to string Date to
Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00")
NO
limit int Limit result quantity NO

Result

Type Description Format/Object
array Analytics Array of Analytics.Calls.Country objects.

analytics/calls.history

Description

Calls count, duration, debit and credit over time.

Signature

method: analytics/calls.history

params: [string from, string to]

Parameters

Parameter Type Description NULL
from string Date from
Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00")
NO
to string Date to
Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00")
NO

Result

Type Description Format/Object
object Analytics Object: Analytics.Calls.History

analytics/calls.inbound_did

Description

Analytics by DID

Signature

method: analytics/calls.inbound_did

params: [string sort, string from, string to, int limit]

Parameters

Parameter Type Description NULL
sort string Sort order.
Values: "COUNT", "DURATION"
NO
from string Date from
Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00")
NO
to string Date to
Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00")
NO
limit int Limit result quantity NO

Result

Type Description Format/Object
array Analytics Array of Analytics.Calls.DID objects.

analytics/calls.outbound_countries

Description

Outbound destinations by country

Signature

method: analytics/calls.outbound_countries

params: [string sort, string from, string to, int limit]

Parameters

Parameter Type Description NULL
sort string Sort order
Values: "COUNT", "DURATION"
NO
from string Date from
Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00")
NO
to string Date to
Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00")
NO
limit int Limit result quantity NO

Result

Type Description Format/Object
array Analytics Array of Analytics.Calls.Country objects.

analytics/calls.outbound_destinations

Description

Outbound destinations by billing label

Signature

method: analytics/calls.outbound_destinations

params: [string sort, string from, string to, int limit]

Parameters

Parameter Type Description NULL
sort string Sort order
Values: "COUNT", "DURATION"
NO
from string Date from
Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00")
NO
to string Date to
Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00")
NO
limit int Limit result quantity NO

Result

Type Description Format/Object
array Analytics Array of Analytics.Calls.Destination objects.

analytics/calls.summary

Description

Summary of your calls count, duration, debit and credit.

Signature

method: analytics/calls.summary

params: [string from, string to]

Parameters

Parameter Type Description NULL
from string Date from
Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00")
NO
to string Date to
Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00")
NO

Result

Type Description Format/Object
object Analytics Object: Analytics.Calls.Summary

analytics/calls.top_apps

Description

Top apps

Signature

method: analytics/calls.top_apps

params: [string type, string sort, string from, string to, int limit]

Parameters

Parameter Type Description NULL
type string Type
Values: "IN", "OUT"
NO
sort string Sort order
Values: "COUNT", "DURATION"
NO
from string Date from
Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00")
NO
to string Date to
Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00")
NO
limit int Limit result quantity NO

Result

Type Description Format/Object
array Analytics Array of Analytics.Calls.App objects.