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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

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

{"lstActiveCalls":[{"IEnv":0,"CLI":"String","CLD":"String","AccountID":"String","Connect_time":"\/Date(-62135596800000-0000)\/","Disconnect_time":"\/Date(-62135596800000-0000)\/","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":"\/Date(-62135596800000-0000)\/","Disconnect_time":"\/Date(-62135596800000-0000)\/","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"}