ListReports() public method

Gets the list of all Reports that the User has access to, in alphabetical order, by name.

It mirrors To the following Smartsheet REST API method: GET /reports

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 ListReports ( PaginationParameters paging, System.DateTime modifiedSince ) : PaginatedResult
paging Smartsheet.Api.Models.PaginationParameters the pagination
modifiedSince System.DateTime
return PaginatedResult
Example #1
0
        public virtual void TestListReports()
        {
            server.setResponseBody("../../../TestSDK/resources/listReports.json");

            PaginatedResult <Report> result = reportResource.ListReports(null);

            Assert.AreEqual(2, result.Data.Count);
            Assert.IsTrue("r1" == result.Data[0].Name);
        }