fbpx
Search
Close this search box.
Search
Close this search box.

< / >

APIs Reports Manager

11. Detail of customers released by Law 2300

URL:

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

Description:

This report allows you to view the customers who have been released from the consumer protection law, Law 2300.

Benefit:

Get detailed information about each customer who has been released from consumer protection law Law 2300.

How it works:

  • The consumption of this API is done via the GET method.
  • To consume this API, you must replace {{wolkvox_server}} in the URL with the server nomenclature of the operation.
  • You must use the wolkvox-token header to utilize the authorization token.
  • Please note that the same token cannot be consumed simultaneously, so you can schedule the next API consumption after the successful completion of the previous one.
  • In terms of timing, to monitor your operation, you can consume the information every 5 minutes.
  • Limit of records that can be downloaded per consumption: 60,000 records.
  • Limit of records that can be uploaded per consumption: 10,000 records.
  • Limit of days queried in dates: 31 days.
  • Limit of result weight: 256 MB.
  • API consumption time limit: 60 seconds.
  • Concurrent consumption limit of a token: 2 simultaneous requests.
  • Daily limit of tokens: Number of licenses multiplied by 1000 daily tokens.

Request

NAME DESCRIPTION TYPE
api Type of report required. String
date_ini Start date (YYYYmmddHHiiss). String
date_end End date (YYYYmmddHHiiss). String

Response

NAME DESCRIPTION TYPE
code Response code. Int
error Indicates if there was an error or not. String
msg Number of messages found. String
protected_nit
Tax Identification Number of the company where the client is located.
String
agent_id
Agent identification number or extension within the wolkvox Manager system.
String
agent_name
Agent name
String
operation
Name of the operation where the client is located.
String
date
Date and time when the client. 
String
item
Field used to release the client. It can yield the values “tel_number” or “id_customer”.
String
Possible response codes
				
					$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://wv{{wolkvox_server}}.wolkvox.com/api/v2/reports_manager.php?date_ini={{date_ini}}&date_end={{date_end}}&api=cdr_11',
  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: {{wolkvox-token}}'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

				
			

RESPONSE

				
					{
    "code": "200",
    "error": null,
    "msg": "x records were found",
    "data": [
        {
            "protected_nit": "",
            "agent_id": "",
            "name_agent": "",
            "operation": "",
            "date": "",
            "item": "",
            "value": ""
        }
    ]
}
				
			
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