Porta Plus 2 Web Services

<back to all web services

PortaCDRReportsRequest

The following routes are available for this service:
GET/getAnsweredCalls/{License}/{Icustomer}/{ReportType}/{AnsweredCalls}/{TimeRange}/{basic}
GET/getFailedCalls/{License}/{Icustomer}/{ReportType}/{FailedCalls}/{TimeRange}/{basic}
GET/getAverageQuntity/{License}/{Icustomer}/{ReportType}/{AverageUsedQunatity}/{TimeRange}/{basic}
GET/getAllCDRReport/{License}/{Icustomer}/{ReportType}/{AnsweredCalls}/{FailedCalls}/{AverageUsedQunatity}/{TimeRange}

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

Icustomer,ReportType,AnsweredCalls,FailedCalls,AverageUsedQunatity,TimeRange,basic,i_env,FromDate,ToDate,i_Service,DisconnectTimeFilter,License,ContentId,FeatureName
0,Weekly,False,False,False,String,False,0,String,String,0,String,String,0,String