public interface SheetFilterResources
| Modifier and Type | Method and Description |
|---|---|
void |
deleteFilter(long sheetId,
long filterId)
Delete filter.
|
SheetFilter |
getFilter(long sheetId,
long filterId)
Get a filter.
|
PagedResult<SheetFilter> |
listFilters(long sheetId,
PaginationParameters pagination)
Get all filters
|
SheetFilter getFilter(long sheetId, long filterId) throws SmartsheetException
Get a filter.
It mirrors to the following Smartsheet REST API method: GET /sheets/{sheetId}/filters/{filterId}
sheetId - the sheet idfilterId - the filter idIllegalArgumentException - if any argument is null or empty stringInvalidRequestException - if there is any problem with the REST API requestAuthorizationException - if there is any problem with the REST API authorization (access token)ResourceNotFoundException - if the resource cannot be foundServiceUnavailableException - if the REST API service is not available (possibly due to rate limiting)SmartsheetException - if there is any other error during the operationvoid deleteFilter(long sheetId,
long filterId)
throws SmartsheetException
Delete filter.
It mirrors to the following Smartsheet REST API method: DELETE /sheets/{sheetId}/filters/{filterId}
Exceptions: IllegalArgumentException : if any argument is null InvalidRequestException : if there is any problem with the REST API request AuthorizationException : if there is any problem with the REST API authorization(access token) ServiceUnavailableException : if the REST API service is not available (possibly due to rate limiting) SmartsheetRestException : if there is any other REST API related error occurred during the operation SmartsheetException : if there is any other error occurred during the operationsheetId - the sheet IDfilterId - the filter IDSmartsheetException - the smartsheet exceptionPagedResult<SheetFilter> listFilters(long sheetId, PaginationParameters pagination) throws SmartsheetException
Get all filters
It mirrors to the following Smartsheet REST API method: GET /sheets/{sheetId}/filters
Exceptions: IllegalArgumentException : if any argument is null InvalidRequestException : if there is any problem with the REST API request AuthorizationException : if there is any problem with the REST API authorization(access token) ServiceUnavailableException : if the REST API service is not available (possibly due to rate limiting) SmartsheetRestException : if there is any other REST API related error occurred during the operation SmartsheetException : if there is any other error occurred during the operationsheetId - the sheet IDpagination - the pagination parametersSmartsheetException - the smartsheet exceptionCopyright © 2014–2019 Smartsheet. All rights reserved.