CDR Dump API provides detailed call reports from the reporting portal and dashboard portal with pagination. Instead of all records, only limited records will be returned in the response, based on page number and page count. For example, if pageNumber is 3 and pageSize is 50, the API will show CDR dump records from 101 to 150.

To access this API the following parameters MUST be passed.

ParameterDescription
userName*CloudAgent user name
apiKey*Available in CloudAgent admin login
campaignNameName of the campaign which details are to be retrieved. If '0' then it is for all available campaigns
fromDate*Start date to retrieve the information. Day format YYYY-MM-DD
toDate*End date to retrieve the information. Day format YYYY-MM-DD
reportTypeCan be current day, or historical data
pageNumberDefault value will be 1 if not passed
pageSizeDefault value will be 100 if not passed

❗️

Note

  • The parameters with '*' are mandatory parameters
  • The maximum Data available from this request is for 30 days.
  • The rate Limit is 50 Requests Per Minute Per User.

Possible responses

Success response"status": "success"
message": [{Data}],
"pageNumber": "1"
"pageSize": "10"
"totalCount": "1703"
"fromDate": "2020-03-01 10:00:00"
"toDate": "2020-03-30 22:59:00"
Empty userName"status": "error"
"message": "userName should not be empty"
Empty apiKey"status": "error"
"message": "apiKey should not be empty"
Empty fromDate"status": "error"
"message": "fromDate should not be empty"
Empty toDate"status": "error"
"message":"toDate should not be empty"
Empty reportType"status": "error"
"message": "reportType should not be empty"
Empty pageNumber"status": "error"
"message": "pageNumber should not be empty or zero"
Empty pageSize"status": "error"
"message": "pageSize should not be empty or zero"
Invalid pageNumber format"status": "error"
"message": "pageNumber should be Numeric only"
Invalid pageSize format or size"status": "error"
"message": "pageSize should be Numeric and Between 10 to 500 only"
Invalid reportType"status": "error"
"message": "Invalid reportType"
Invalid Date format"status": "error"
"message": "From and To Date should be in yyyy-mm-dd HH:mm:ss Format"
If report type is current day && from or to date is not current date"status": "error"
"message": "From Date and To Date should be Current Day only"

"status": "error"
"message": "From Date should not be Greater than To Date"
If report Type is historical && from or to date is less than or equal to current date"status": "error"
"message": "From Date and To Date should not be Greater than or Equal to Current Date"
If report Type is historical && diff between from and to date is greater than 30 days"status": "error"
"message": "Difference Between From and To Date should not be Greater than 30 Days"
Invalid apiKey"status": "error"
"message": "userName or apiKey is Invalid"
Invalid userName"status": "error"
"message": "userName or apiKey is Invalid"
Invalid campaignName"status": "error"
"message": "campaignName is Invalid"
If more than 50 Request received in a minute"status": "error"
"message": "max limit exceeded"}
No data is found"status": "error"
"message": "No Data Found"

📘

Further Insights

By default, the domain name is https://in1-ccaas-api.ozonetel.com. Please refer here to change based on the need.

Language
URL
Click Try It! to start a request and see the response here!