Retrieves detailed charge history for all legs of call sessions.
Reports >
Retrieves detailed charge history for all legs of call sessions.
Retrieves detailed charge history for all legs of call sessions
Method
get.financial_call_legs_report
Description
Retrieves detailed charge history for all legs of call sessions.
Who has access
Partners and clients
Calls initiated from the online chat or Sitephone forms are classified as outbound calls.
Request parameters
Name
Type
Required
Valid values
Description
access_token
string
yes
Authentication session key
user_id
number
no
Unique user identifier of the agent client on behalf of which the request is made (Is required for the agent) To obtain a list of client users, you must use the method ""get.customer_users""
limit
number
no
Number of records returned. See section "Paging"
offset
number
no
Shift determines from which record number to return "limit" records. Default is "0". See section "Paging"
fields
array
no
See "View of Returned Data"
sort
array
no
See section "Sorting data"
date_from
iso8601
yes
YYYY-MM-DD hh:mm:ss
Start date and time of the reporting period.
date_till
iso8601
yes
YYYY-MM-DD hh:mm:ss
Sampling end date
Response parameters
Name
Type
Valid values
Filtering
Sorting
Default response
Description
start_time
iso8601
YYYY-MM-DD hh:mm:ss
yes
yes
Leverage date and time
direction
enum
in - Inbox; out - Outbox
yes
yes
yes
Leg direction
source
enum
callapi - Call API; callapi_informer_call - Call API information call; callapi_scenario_call - Call API script call call_tracking- Analytics; dynamic_call_tracking - Dynamic call tracking; va - Virtual PBX; sip - Outgoing from SIP; consultant - Call through the Consultant; lead - Call via Lead Generator; sitephone - Call via Sitephone; faxout - Outgoing fax; retailcrm - retailCRM