Search Results for

    Show / Hide Table of Contents

    Method GetSystemDocumentCount

    GetSystemDocumentCount(String)

    Get document counts for all infostores

    Declaration
    List<InfoStoreDocumentCountContract> GetSystemDocumentCount(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<InfoStoreDocumentCountContract>

    List of InfoStores and there counts

    Examples

    POST http://YourServerName/InfoShare/Json/Server/GetSystemDocumentCount

    Example for get document count for all infostores.

    {
       "connectionId": "e3b3b164-9b0b-4d00-9981-83fe4835df1a"
    }

    Response:

    {
       "GetSystemDocumentCountResult": [{
         "DocumentCount": 4,
         "DocumentVersionCount": 3,
         "InfoStoreId": "e46bc061-b7cf-e911-a939-00155d290a08"
         }, {
         "DocumentCount": 1,
         "DocumentVersionCount": 1,
         "InfoStoreId": "c5b7dd4e-b8cf-e911-a939-00155d290a08"
         }, {
        "DocumentCount": 1,
        "DocumentVersionCount": 2,
        "InfoStoreId": "5ff3c8f6-b8cf-e911-a939-00155d290a08"
        }, {
        "DocumentCount": 2,
        "DocumentVersionCount": 0,
        "InfoStoreId": "67727470-b9cf-e911-a939-00155d290a08"
        }, {
        "DocumentCount": 10,
        "DocumentVersionCount": 0,
        "InfoStoreId": "eb299c1d-8bd0-e911-a93a-00155d290a08" }]
    }
    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