Method GetStatisticCounterConfiguration
GetStatisticCounterConfiguration(String)
Get statistic counter configuration
Declaration
List<StatisticCounterConfigurationContract> GetStatisticCounterConfiguration(string connectionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<StatisticCounterConfigurationContract> | List of statistic counter configuration |
Examples
POST http://YourServerName/InfoShare/Json/Common/GetStatisticCounterConfiguration
Example for get statistic counter configuration.{
"connectionId": "f2178c68-e6c5-46a8-8dc1-d26ac99f287a"
}
Response:
{
"GetStatisticCounterConfigurationResult": [{
"CounterInterval": "Hourly",
"CounterName": "Logon",
"DataScope": "",
"Id": 1,
"UserScope": "All" }, {
"CounterInterval": "Hourly",
"CounterName": "Logoff",
"DataScope": "",
"Id": 2,
"UserScope": "All" }, {
"CounterInterval": "Hourly",
"CounterName": "ImportDocument",
"DataScope": "",
"Id": 3,
"UserScope": "All" }, {
"CounterInterval": "Hourly",
"CounterName": "UpdateDocument",
"DataScope": "",
"Id": 4,
"UserScope": "All" }]
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |