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 .csv suffix or ?format=csv

HTTP + CSV

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

POST /csv/reply/PortaResellerCDR HTTP/1.1 
Host: 7el.co 
Content-Type: text/csv
Content-Length: length

FromDate,ToDate,BreakdownResults,ICustomer,Offset,License,ContentId,FeatureName
String,String,False,0,0,String,0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

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