Search Results for

    Show / Hide Table of Contents

    Method GetWorkspaceSessionCounts

    GetWorkspaceSessionCounts(String)

    Get the session count of all admin stores in the workspace

    Declaration
    WorkspaceSessionCountsContract GetWorkspaceSessionCounts(string connectionId)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    Returns
    Type Description
    WorkspaceSessionCountsContract

    The workspace session counts. See also WorkspaceSessionCountsContract

    Examples

    POST http://YourServerName/InfoShare/Json/Common/GetWorkspaceSessionCounts

    Example for get session count of all admin stores in the workspace.

    {
       "connectionId": "ea19eaca-e97c-4329-a8a6-2db790a52c1f"
    }

    Response:

    {
       "GetWorkspaceSessionCountsResult": {
         "CloudSchemaStoreSessionCount": 456,
         "InfoStoresSessionCount": [{
           "Id": "3b7077d1-edcf-11e0-912b-005056c00008",
           "SessionCount": 112 }, {
           "Id": "1728c634-85d2-11e4-82a4-000c298b2328",
           "SessionCount": 23 }, {
           "Id": "553b79ea-168f-11e6-9454-00155d062902",
           "SessionCount": 18 }, {
           "Id": "143384ee-9e68-e811-94c6-00155d051001",
           "SessionCount": 2 }, {
           "Id": "a708fffe-e654-11df-a2ff-001b24b38155",
           "SessionCount": 121 }, {
           "Id": "6ef24c2e-168f-11e6-9454-00155d062902",
           "SessionCount": 17 }, {
           "Id": "69a157f8-9e68-e811-94c6-00155d051001",
           "SessionCount": 2 }],
       "SchemaStoreSessionCount": 9137,
       "SecurityStoreSessionCount": 12356,
       "UserStoreSessionCount": 14946,
       "ViewerSettingsStoreSessionCount": 82,
       "DossierSchemaStoreSessionCount": 23 }
    }
    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)

    Back to top Copyright © Kendox