CDR - Status
CDR Rating Status
Used to check the status of what the call rating is up to for your instance, this can be used for integration to collecting cdrs and publishing them or provide stats on rating. It’s grouped by cdr source.
GET
json object
URI
/:tokenid/cdr/ratingStatus
Example
Request
Example Javascript/Jquery
|
$.ajax({
url: '/api/892f86d5-da86-4e98-9343-1976a375/cdr/ratingStatus',
type: 'GET',
contentType: 'application/json',
success: function( response ) {
console.log(response);
}
}); |
Response
Success Result
{
"success": true,
"data": [
{
"source": "AAPT",
"latest_date": "2020-05-31 12:58:52"
},
{
"source": "OPTUS",
"latest_date": "2020-06-22 17:59:29"
},
]
}
CDR Source Status
Used to check the status of what the CDR sources have been imported for your instance, this can be used for integration to collecting cdrs and verifying that the . It’s grouped by cdr source.
GET
json object
URI
/:tokenid/cdr/status
Example
Request
Example Javascript/Jquery
$.ajax({
url: '/api/892f86d5-da86-4e98-9343-1976a375/cdr/status',
type: 'GET',
contentType: 'application/json',
success: function( response ) {
console.log(response);
}
}); |
Response
Success Result
{
"success": true,
"data": [
{
"source": "AAPT",
"latest_date": "2020-05-31 12:58:52"
},
{
"source": "OPTUS",
"latest_date": "2020-06-22 17:59:29"
},
]
}
, multiple selections available,