Knowladge Base

2K GET DID CALL LOGS BY DATE

This method retrieves DID call logs.

 

Example URL:

http://newapi.didx.net/DidxApis/api/getDIDCallLogByDate.php?UserID=700290&Password=XXXX&DIDNumber=14194643509

 

Example Code in PHP:

<?php

$curl_handle = curl_init();

$url = "http://newapi.didx.net/DidxApis/api/getDIDCallLogByDate.php?UserID=700290&Password=XXXX&DIDNumber=14194643509";

curl_setopt($curl_handle, CURLOPT_URL, $url);

curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, true);

$curl_data = curl_exec($curl_handle);

curl_close($curl_handle);

$response_data = json_decode($curl_data);

print_r($response_data);

die();

?>

 

Input Fields:

    1. UserID
    2. Password
    3. DIDNumber
    4. StartDate
    5. EndDate
    6. PageNo
    7. RecordOrder

 

Returned Fields:

    1. CallID
    2. CallerID
    3. RingTo
    4. DIDNumber
    5. Trunk
    6. Status
    7. Date
    8. Billseconds
    9. BillCost

 

Error Codes:

In case of any incorrect information provided by the user or in case of no matching data, an error code will be returned. Error codes correspond to the following messages:

-1 = User ID does not exist

-2 = Your Password is Incorrect

-3 = There are no LOG in our Database.