PortalAdmin.WebAPI

<back to all web services

admin.calls.recorded.list

Return list of recorded 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.calls.recorded.list

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.calls.recorded.list HTTP/1.1 
Host: www.pbxlogin.co.za 
Content-Type: application/json
Content-Length: length

{"fromDate":"0001-01-01T00:00:00.0000000", "toDate":"0001-01-01T00:00:00.0000000", "clientId":0,"clientType":0,"calledNumber":"String", "callerId":"String", "pageOffset":0,"pageSize":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"total":0,"data":[{"id":0,"idCc":0,"callStart":"0001-01-01T00:00:00.0000000", "direction":"Any", "duration":0,"durationString":"String", "user":"String", "callerId":"String", "calledNumber":"String"}],"responseStatus":{"errorCode":"String", "message":"String", "stackTrace":"String", "errors":[{"errorCode":"String", "fieldName":"String", "message":"String"}]}}