Search Results for

    Show / Hide Table of Contents

    Method SetWatchListColumnConfiguration

    SetWatchListColumnConfiguration(String, String, ColumnConfigurationContract, Boolean)

    Set a watch list column configuration

    Declaration
    void SetWatchListColumnConfiguration(string connectionId, string watchListId, ColumnConfigurationContract columnConfiguration, bool setAsMasterConfiguration)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    System.String watchListId

    Watch list it set configuration

    ColumnConfigurationContract columnConfiguration

    ColumnConfiguration to set

    System.Boolean setAsMasterConfiguration

    Set configuration as default for all users.

    Remarks

    If setAsMasterConfiguration is true, you need "SetMasterColumnConfiguration" access right. See also AccessRightsEnum

    Examples

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

    Example set a watch list column configuration.

    {
       "connectionId": "23a97160-3a3d-4acf-bb93-8040848440f4",
       "watchListId": "9762c061-b7cf-e911-a939-00155d290a08",
       "columnConfiguration": {
           "Columns": [{
             "PropertyTypeId": "01000a00-38a7-11d8-a902-0050bf427e8f",
             "Width": -2 }],
           "GroupedColumnIds": [],
           "SortedColumns": [],
           "InheritProperties": false,
           "ShowGroupsExpanded": false },
       "setAsMasterConfiguration": false
    }

    Response:

    { }
    Exceptions
    Type Condition
    ServiceException

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

    ServiceException

    Watch list type not found {watchList.Id} (10189)

    ServiceException

    Property type not found {propertyTypeId} (10034)

    ServiceException

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

    ServiceException

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

    Back to top Copyright © Kendox