Porta Plus 2 Web Services

<back to all web services

VendorCdrs

The following routes are available for this service:
GET/GetAllVendorsChargedAmount/{License}/{FromDate}/{ToDate}

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/VendorCdrs HTTP/1.1 
Host: 7el.co 
Content-Type: text/csv
Content-Length: length

FromDate,ToDate,License,ContentId,FeatureName
String,String,String,0,String

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

VendorTotalChargedAmount,License,ContentId,FeatureName
"{TotalCharged:0,vendors:[{VendorId:0,VendorName:String,ChargedMinutes:0,Connection:[{VendorId:0,IConnection:0,ConnectionName:String,ChargedMinutes:0}]}]}",String,0,String