get https://{domainname}/cloudAgentRestAPI/index.php/CloudAgent/CloudAgentAPI/getCDR
By using this API, users can access detailed call activity information and retrieve reports from the dashboard portal for the current day.
To access this API the following parameters MUST be passed.
Parameters | Description |
---|---|
api_key* | Available in CloudAgent admin login |
user_name* | CloudAgent account name |
from_date* | Date and Time in format yyyy-mm-dd hh:mm:ss |
to_date* | Date and Time in format yyyy-mm-dd hh:mm:ss |
format | json/xml Response format |
Possible responses
Invalid api_key | "status": "failure" "message": "Please provide API key" |
user_name is invalid | "status": "failure" "message": "Please provide UserName" |
from_time or to_time is set to more than 30 days | "status": "failure "message": "The Requested date should not be more than 30 days" |
no data entered | "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.