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

HTTP + JSV

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

POST /jsv/oneway/PortaCDRReportsRequest HTTP/1.1 
Host: api-uk.activesoftswitch.com 
Content-Type: text/jsv
Content-Length: length

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