Search Results for

    Show / Hide Table of Contents

    Method AddReadingList

    AddReadingList(String, String, List<String>)

    Add users to the reading list of a specific document passed as documentId parameter

    Declaration
    void AddReadingList(string connectionId, string documentId, List<string> userIds)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    System.String documentId

    The document id. See also Id

    System.Collections.Generic.List<System.String> userIds

    List of user ids to add to the reading list

    Remarks

    You need "ChangeRequiredList" access right. See also AccessRightsEnum

    Examples

    POST http://YourServerName/InfoShare/Json/Document/AddReadingList

    Example for add users to reading list.

    {
       "connectionId": "1fbe116a-20a9-4378-b198-6cf3283f0238",
       "documentId": "7d58533d-75db-e911-a946-00155d290a08",
       "userIds": ["0100a003-38a7-11d8-a902-0050bf427e8f", "2cd4ad99-bacf-e911-a939-00155d290a08"]
    }

    Response:

    { }
    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    ServiceException

    No document found for documentId {documentId} (10005)

    ServiceException

    Not enough rights ({accessOperationName}, {accessOperationId}) (10071)

    ServiceException

    User {userId} is deactivated (10058)

    ServiceException

    User {userId} is obsolete (10119)

    ServiceException

    User {userId} is a user group not a user (10120)

    ServiceException

    Property type not found {propertyTypeId} (10034)

    ServiceException

    Verification code is needed: Verification code not yet verified (10152)

    Back to top Copyright © Kendox