Porta Plus 2 Web Services

<back to all web services

ActiveCalls

The following routes are available for this service:
GET/GetActiveCallsEnvironment/{License}/{ShowVendors*}
GET/GetActiveCallsStemPro/{License}/{FromStemPro}
POST/GetActiveCallsStemProCalls
GET/GetActiveCallsCustomer/{License}/{ICustomer}
GET/GetActiveCallsReseller/{License}
GET/GetActiveCallsAccount/{License}/{IAccount}

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

{
	ICustomer: 0,
	FromStemPro: False,
	ExcludeAccountIDS: 
	[
		String
	],
	ExcludeDestinationIDS: 
	[
		String
	],
	ShowVendors: False,
	ExcludeSpecialDestination: 
	[
		String
	],
	IAccount: 0,
	License: String,
	ContentId: 0,
	FeatureName: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	lstActiveCalls: 
	[
		{
			IEnv: 0,
			CLI: String,
			CLD: String,
			AccountID: String,
			Connect_time: 0001-01-01,
			Disconnect_time: 0001-01-01,
			ICustomer: 0,
			CallId: String,
			IAccount: 0,
			noofcalls: 0,
			DurationMins: String,
			CallType: String,
			VendorId: 0,
			VendorName: String,
			ConnectionName: String,
			IConnection: 0,
			GatewayId: String,
			IDialRuleCld: 0,
			TrRuletoLocal: String,
			product: String,
			Note: String,
			SubscriberFName: String,
			SubscriberLName: String,
			ExtensionNumber: String
		}
	],
	lstAccountActiveCalls: 
	[
		{
			IEnv: 0,
			CLI: String,
			CLD: String,
			AccountID: String,
			Connect_time: 0001-01-01,
			Disconnect_time: 0001-01-01,
			ICustomer: 0,
			CallId: String,
			IAccount: 0,
			noofcalls: 0,
			DurationMins: String,
			CallType: String,
			VendorId: 0,
			VendorName: String,
			ConnectionName: String,
			IConnection: 0,
			GatewayId: String,
			IDialRuleCld: 0,
			TrRuletoLocal: String,
			product: String,
			Note: String,
			SubscriberFName: String,
			SubscriberLName: String,
			ExtensionNumber: String,
			ConnectTime: String,
			DisconnectTime: String,
			call_id: String
		}
	],
	License: String,
	ContentId: 0,
	FeatureName: String
}