Porta Plus 2 Web Services

<back to all web services

PortaAccountstStatisticsRequest

The following routes are available for this service:
GET/GetAllAccountsStatistics/{License}/{LicenseType}
GET/GetSubCustomersAccountsStatistics/{License}/{resellerId}/{LicenseType}
GET/GetCustomersAccountsBySearchString/{License}/{resellerId}/{searchString}
GET/GetAllCustomerWiseAccountsStatistics/{License}/{getCustomerwiseData}/{LicenseType}
GET/GetResellersCustomerWiseAccountsStatistics/{License}/{resellerId}/{getCustomerwiseData}/{LicenseType}
GET/GetCustomerAccountsStatisticsDetails/{License}/{resellerId}/{i_customer}/{LicenseType}
GET/GetAccountStatisticsGraphInfo/{License}/{resellerId}/{FromDate}/{ToDate}/{AddOnProductsFlag}
GET/GetActiveAccountStatisticsGraphInfo/{License}/{resellerId}/{ToDate}/{AddOnProductsFlag}/{activeAccounts}

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/oneway/PortaAccountstStatisticsRequest HTTP/1.1 
Host: api-uk.activesoftswitch.com 
Content-Type: application/json
Content-Length: length

{"resellerId":0,"getCustomerwiseData":false,"i_customer":0,"LicenseType":"String","searchString":"String","FromDate":"String","ToDate":"String","AddOnProductsFlag":false,"activeAccounts":false,"License":"String","ContentId":0,"FeatureName":"String"}