PortalAdmin.WebAPI

<back to all web services

admin.cdr.failed.list.get

Get failed calls<.
Require admin authentification.
Authenticate in Http Headers Authorization: Basic Base64(login#admin:SHA1(password)).

REST Paths

The following REST paths are available for this service.

POST admin.cdr.failed.list.get

To override the Content-type in your clients HTTP Accept Header, append ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/syncreply/admin.cdr.failed.list.get HTTP/1.1 
Host: talk.vltelecom.com 
Content-Type: application/json
Content-Length: length

{"calledNumber":"String", "pbxClientId":0,"login":"String", "callerId":"String", "callerIp":"String", "originCallId":"String", "terminationCallId":"String", "clientType":0,"sms":false,"ieError":{"value":0,"condition":"None", "stringCondition":""},"reason":{"value":0,"condition":"None", "stringCondition":""},"pdd":{"value":0,"condition":"None", "stringCondition":""},"tariffId":0,"descending":false,"sortColumn":"String", "fromDate":"0001-01-01T00:00:00.0000000", "toDate":"0001-01-01T00:00:00.0000000", "pageOffset":0,"pageSize":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"total":0,"data":[{"idCall":0,"calledNumber":"String", "callerId":"String", "callStart":"0001-01-01T00:00:00.0000000", "callerIp":"String", "pdd":0,"tariffId":0,"tariff":"String", "tariffDescription":"String", "tariffPrefix":"String", "clientTypeName":"String", "originCallId":"String", "terminationCallId":"String", "ieError":0,"ieErrorDescription":"String", "releaseReason":0,"releaseReasonDescription":"String", "routeTypeName":"String", "routeType":"String"}],"responseStatus":{"errorCode":"String", "message":"String", "stackTrace":"String", "errors":[{"errorCode":"String", "fieldName":"String", "message":"String"}]}}