fbpx

< / >

APIs Reports Manager

1. Call Detail En

URL:

https://wv{{wolkvox_server}}.wolkvox.com/api/v2/reports_manager.php?api=cdr_1&date_ini={{YYYYmmddHHiiss}}&date_end={{YYYYmmddHHiiss}}

Description:

This report provides a complete view of the call details, classified by activity code and description; identifying the campaign, the call, the customer, the agent and who ends the interaction; and indicating the date, destination, phone, duration and cost of the communication.

Benefit:

This report allows for tracking of accounting by indicating the value of voice service consumption.

How it works:

  • This API is consumed by GET method.
  • To consume this API, you must replace in the URL {ip_ipdialbox} by the server nomenclature of the operation and the {token} generated from wolkvox Manager to obtain the information securely.
  • Note that the same token cannot be consumed simultaneously, so you can program the next API to be consumed when the result of the previous one is successful.
  • In terms of time, to track your operation you can make a consumption every 5 minutes of the information.

REQUEST
NAMEDESCRIPTIONTYPE
apiType of report requiredString
date_iniInitial Date (YYYYmmddHHiiss)String
date_endFinal Date (YYYYmmddHHiiss)String

RESPONSE
NAMEDESCRIPTIONTYPE
agent_nameName of the agentString
dateIndicates the date in the format yearmonthdayhourString
destinyIndicates the destination of the callString
telephoneIndicates the telephone number to which the call was madeString
costIt is the price of the use of the productString
time_segIndicates time in units of secondsString
time_minIndicates time in units of minutesString
cod_actRefers to the classification of the callString
cod_act_2Refers to the classification of the call 2String
description_cod_actDescription of classification of the callString
description_cod_act_2Description of classification of the call 2String
type_interactionIndicates the type of call, it can be inbound, outbound and internalString
customer_idIt corresponds to the identification number of the customerString
hang_upIndicates who ended the interactionString
campaign_idIt corresponds to the identification number of the campaignString
conn_idIt corresponds to the identification number of the callString
skill_idIt refers to the numerical identification of the skillString
skill_nameName of the skillString
agent_idIt refers to the numerical identification of each of the users of wolkvox AgentString
commentCommentString

Possible response codes
				
					$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://wv{{wolkvox_server}}.wolkvox.com/api/v2/reports_manager.php?api=cdr_1&date_ini={{YYYYmmddHHiiss}}&date_end={{YYYYmmddHHiiss}}',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'wolkvox-token: {{token}}'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;


				
			

RESPONSE

				
					{
    "code": 200,
    "error": null,
    "msg": "1 records were found",
    "data": [
        {
            "conn_id": "",
            "channel": "",
            "date": "",
            "customer_name": "",
            "customer_email": "",
            "customer_phone": "",
            "customer_chars": "",
            "agent_id": "",
            "agent_name": "",
            "agent_chars": "",
            "time_on_agent": "",
            "chat_duration": "",
            "cod_act": "",
            "description_cod_act": "",
            "comments": "test",
            "customer_id": "",
            "skill_id": "",
            "ASA": "",
            "last_participant_who_spoke": "",
            "extra_field": "",
            "comment": "",
            "user_id": "",
            "feeling": "",
            "agent_anwers ": ""
        }
    ]
}
				
			
We use cookies, if you continue browsing we will assume that you agree. You can read more about the use of cookies in our privacy policies and treatment of personal data