Porta Plus 2 Web Services

<back to all web services

PortaResellerCDR

The following routes are available for this service:
GET/getResellerProfit/{License}/{FromDate}/{ToDate}/{BreakdownResults}
GET/getResellerAccountCDRS/{License}/{ICustomer}/{FromDate}/{ToDate}/{Offset}

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?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/reply/PortaResellerCDR HTTP/1.1 
Host: 7el.co 
Content-Type: application/json
Content-Length: length

{"FromDate":"String","ToDate":"String","BreakdownResults":false,"ICustomer":0,"Offset":0,"License":"String","ContentId":0,"FeatureName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"PortaResellerProfitLst":[{"Cost":0,"Revenue":0,"Profit":0,"FromDate":"String","ToDate":"String"}],"PortaResellerCDRS":{"lstResellerCDRS":[{"CLI":"String","CLD":"String","ResellerChargedAmount":0,"ResellerChargedTime":0,"CustomerID":"String","AccountID":"String","AccountChargedAmount":0,"AccountChargedTime":0,"BillDate":"\/Date(-62135596800000-0000)\/","H323ConfID":"String","IAccount":0,"IDest":0,"ICustomer":0,"CdrId":0}],"CDRCallsTotal":0},"lstResellerCDRS":[{"CLI":"String","CLD":"String","ResellerChargedAmount":0,"ResellerChargedTime":0,"CustomerID":"String","AccountID":"String","AccountChargedAmount":0,"AccountChargedTime":0,"BillDate":"\/Date(-62135596800000-0000)\/","H323ConfID":"String","IAccount":0,"IDest":0,"ICustomer":0,"CdrId":0}],"License":"String","ContentId":0,"FeatureName":"String"}