Search Results for

    Show / Hide Table of Contents

    Method GetWatchLists

    GetWatchLists(String)

    Get watch lists

    Declaration
    WatchListsContract GetWatchLists(string connectionId)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    Returns
    Type Description
    WatchListsContract

    Return all data from user watch list.

    Remarks

    Gets watch lists only specific user.

    Examples

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

    Example for get watch lists

    {
       "connectionId": "adb26c2e-c9ca-4091-aa59-4ff714539272"
    }

    Response:

    {
       "GetWatchListsResult": {
         "SessionCount": 1,
         "WatchLists": [{
           "ChangeDate": "27\/09\/2019 11:35:12",
           "CreationDate": "27\/09\/2019 11:35:12",
           "Id": "37100ddd-1ae1-e911-a94b-00155d290a08",
           "Name": "KM_Documents_1",
           "WatchListItems": [{
             "Id": "41100ddd-1ae1-e911-a94b-00155d290a08",
             "ObjectId": "4b99aa54-7c51-e911-a07c-fc77741e4528",
             "ObjectTypeEnum": "Document" 
             }, {
             "Id": "4a100ddd-1ae1-e911-a94b-00155d290a08",
             "ObjectId": "fc870cab-7a51-e911-a07c-fc77741e4528",
             "ObjectTypeEnum": "Document"
             }, {
             "Id": "53100ddd-1ae1-e911-a94b-00155d290a08",
             "ObjectId": "d6cae898-7b51-e911-a07c-fc77741e4528",
             "ObjectTypeEnum": "Document" }] }] }
    }
    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