get https://{domainname}/CAServices/getCDRData.php
Deprecation Update
This API will be deprecated by 30th Nov 2024.
We recommend to start using the new version of the API's to generate Call Detail Reports:
This API offers access to call detail reports from the dashboard portal, allowing them to retrieve data for the current day for a defined time range.
To access this API we need to pass the following parameters.
Parameter | Description |
---|---|
api_key* | Available in Cloudagent Admin login |
user_name* | CloudAgent account name |
from_time* | Time in the format hh:mm:ss |
to_time* | Time in the format hh:mm:ss |
Note:
Parameters with ‘*’ are mandatory.
Possible responses
If any parameter is not passed | {"status":"failure","msg":"All Parameters are Mandatory"} |
Invalid api_key | {"status":"failure","message":"Please provide UserName"} |
Invalid username | {"status":"failure","message":"Please provide UserName"} |
no data found | {"status":"failure","message":"no record found"} |
Further Insights
By default, the domain name is https://in1-ccaas-api.ozonetel.com. Please refer here to change based on the need.