Method GetWatchListColumnConfiguration
GetWatchListColumnConfiguration(String, String)
Get a watch list column configuration
Declaration
ColumnConfigurationContract GetWatchListColumnConfiguration(string connectionId, string watchListId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId |
|
System.String | watchListId | Watch list it set configuration |
Returns
Type | Description |
---|---|
ColumnConfigurationContract |
Examples
POST http://YourServerName/InfoShare/Json/Common/GetWatchListColumnConfiguration
Example get a watch list column configuration.{
"connectionId": "23a97160-3a3d-4acf-bb93-8040848440f4",
"watchListId": "9762c061-b7cf-e911-a939-00155d290a08"
}
Response:
{
"GetWatchListColumnConfigurationResult": {
"Columns": [
{
"PropertyTypeId": "01000a00-38a7-11d8-a902-0050bf427e8f",
"Width": -2
},
{
"PropertyTypeId": "01004001-38a7-11d8-a902-0050bf427e8f",
"Width": -2
},
{
"PropertyTypeId": "01004004-38a7-11d8-a902-0050bf427e8f",
"Width": -2
} ],
"GroupedColumnIds": ["01004004-38a7-11d8-a902-0050bf427e8f"],
"InheritProperties": false,
"ShowAggregateFunctions": true,
"ShowColumnFilters": true,
"ShowGroupsExpanded": true,
"SortedColumns": [
{
"PropertyTypeId": "01004004-38a7-11d8-a902-0050bf427e8f",
"SortOrderEnum": "Ascending"
},
{
"PropertyTypeId": "01000a00-38a7-11d8-a902-0050bf427e8f",
"SortOrderEnum": "Ascending"
}
]
}
}
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 | Not enough rights ({accessOperationName}, {accessOperationId}) (10071) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |