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

ICustomer,FromStemPro,ExcludeAccountIDS,ExcludeDestinationIDS,ShowVendors,ExcludeSpecialDestination,IAccount,License,ContentId,FeatureName
0,False,[String],[String],False,[String],0,String,0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

lstActiveCalls,lstAccountActiveCalls,License,ContentId,FeatureName
"[{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}]","[{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}]",String,0,String