public interface TemplateResources
This interface provides methods to access Template resources.
Thread Safety: Implementation of this interface must be thread safe.
| Modifier and Type | Method and Description |
|---|---|
PagedResult<Template> |
listPublicTemplates(PaginationParameters parameters)
List public templates.
|
PagedResult<Template> |
listUserCreatedTemplates(PaginationParameters parameters)
List user-created templates.
|
PagedResult<Template> listUserCreatedTemplates(PaginationParameters parameters) throws SmartsheetException
parameters - the pagination parameters
Exceptions:
- 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 operationSmartsheetException - the smartsheet exceptionPagedResult<Template> listPublicTemplates(PaginationParameters parameters) throws SmartsheetException
parameters - the pagination parameters
Exceptions:
- 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 operationSmartsheetException - the smartsheet exceptionCopyright © 2014–2017 Smartsheet. All rights reserved.