Method GetStatisticCounterDescription
GetStatisticCounterDescription(String)
Get statistic counter description
Declaration
List<StatisticCounterDescriptionContract> GetStatisticCounterDescription(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<StatisticCounterDescriptionContract> | List of statistic counter description |
Examples
POST http://YourServerName/InfoShare/Json/Common/GetStatisticCounterDescription
Example for get statistic counter description.{
"connectionId": "f2178c68-e6c5-46a8-8dc1-d26ac99f287a"
}
Response:
{
"GetStatisticCounterDescriptionResult": [{
"CanHandleDataScope": false,
"CanHandleUserScope": true,
"CounterName": "Logon",
"Description": {
"Values": [{
"Culture": "de-CH",
"Text": "Statistikzähler der die erfolgreichen Anmeldungen am System zählt" }, {
"Culture": "de",
"Text": "Statistikzähler der die erfolgreichen Anmeldungen am System zählt" }, {
"Culture": "en",
"Text": "Statistics counter that counts the successful logins on the system" }, {
"Culture": "en-US",
"Text": "Statistics counter that counts the successful logins on the system" }] },
"DisplayName": {
"Values": [{
"Culture": "de-CH",
"Text": "Anmeldung" }, {
"Culture": "de",
"Text": "Anmeldung" }, {
"Culture": "en",
"Text": "Login" }, {
"Culture": "en-US",
"Text": "Login" }, {
"Culture": "fr",
"Text": "Inscription..." } ] }
}, {
"CanHandleDataScope": false,
"CanHandleUserScope": true,
"CounterName": "Logoff",
"Description": {
"Values": [{
"Culture": "de-CH",
"Text": "Statistikzähler der die erfolgreichen Abmeldungen am System zählt" }, {
"Culture": "de",
"Text": "Statistikzähler der die erfolgreichen Abmeldungen am System zählt" }, {
"Culture": "en",
"Text": "Statistics counter that counts the successful logoffs on the system" }, {
"Culture": "en-US",
"Text": "Statistics counter that counts the successful logoffs on the system" }] },
"DisplayName": {
"Values": [{
"Culture": "de-CH",
"Text": "Abmeldung" }, {
"Culture": "de",
"Text": "Abmeldung" }, {
"Culture": "en",
"Text": "Logoff" }, {
"Culture": "en-US",
"Text": "Logoff" }] } }]
}
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) |