ListFolders() public méthode

Gets a list of the top-level child Folders within the specified Folder.

This operation supports pagination of results. For more information, see Paging.

It mirrors To the following Smartsheet REST API method:
GET /folders/{folderId}/folders

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public ListFolders ( long folderId, PaginationParameters paging ) : PaginatedResult
folderId long the folderId
paging PaginationParameters the pagination information
Résultat PaginatedResult
Exemple #1
0
        public virtual void TestListFolders()
        {
            server.setResponseBody("../../../TestSDK/resources/listFolders.json");

            IList <Folder> folders = folderResource.ListFolders(12345L);

            Assert.AreEqual(2, folders.Count);
        }
Exemple #2
0
        public virtual void TestListFolders()
        {
            server.setResponseBody("../../../TestSDK/resources/listFolders.json");

            PaginatedResult <Folder> result = folderResource.ListFolders(12345L, new PaginationParameters(false, null, null));

            Assert.AreEqual(2, result.Data.Count);
        }