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

HTTP + XML

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

POST /xml/oneway/PortaCDRReportsRequest HTTP/1.1 
Host: 7el.co 
Content-Type: application/xml
Content-Length: length

<PortaCDRReportsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <ContentId>0</ContentId>
  <FeatureName>String</FeatureName>
  <License>String</License>
  <AnsweredCalls>false</AnsweredCalls>
  <AverageUsedQunatity>false</AverageUsedQunatity>
  <DisconnectTimeFilter>String</DisconnectTimeFilter>
  <FailedCalls>false</FailedCalls>
  <FromDate>String</FromDate>
  <Icustomer>0</Icustomer>
  <ReportType>Weekly</ReportType>
  <TimeRange>String</TimeRange>
  <ToDate>String</ToDate>
  <basic>false</basic>
  <i_Service>0</i_Service>
  <i_env>0</i_env>
</PortaCDRReportsRequest>