Click or drag to resize

ReportResources Interface

This interface provides methods to access Report resources.

Thread Safety: Implementation of this interface must be thread safe.

Namespace:  Smartsheet.Api
Assemblies:   smartsheet-csharp-sdk (in smartsheet-csharp-sdk.dll) Version: 2.126.0
  smartsheet-csharp-sdk (in smartsheet-csharp-sdk.dll) Version: 2.126.0
Syntax
public interface ReportResources

The ReportResources type exposes the following members.

Properties
  NameDescription
Public propertyShareResources

Return the ShareResources object that provides access to Share resources associated with Report resources.

Top
Methods
  NameDescription
Public methodGetPublishStatus

Get the publish status of a report.

It mirrors to the following Smartsheet REST API method: GET /reports/{id}/publish

Public methodGetReport(Int64, IEnumerableReportInclusion, NullableInt32, NullableInt32)

Gets the Report, including one page of Rows, and optionally populated with Discussions, Attachments, and source Sheets.

It mirrors to the following Smartsheet REST API method: GET /reports/{reportId}

Public methodGetReport(Int64, IEnumerableReportInclusion, NullableInt32, NullableInt32, NullableInt32)

Gets the Report, including one page of Rows, and optionally populated with Discussions, Attachments, and source Sheets.

It mirrors to the following Smartsheet REST API method: GET /reports/{reportId}

Public methodGetReportAsCSV

Get a report as a CSV file.

It mirrors to the following Smartsheet REST API method:
GET /reports/{reportId} with "text/csv" Accept HTTP header

Public methodGetReportAsExcel

Gets the Report in the format specified, based on the Report ID.

It mirrors to the following Smartsheet REST API method:
GET /reports/{reportId} with "application/vnd.ms-excel" Accept HTTP header

Public methodListReports

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

Public methodSendReport

Send a report as a PDF attachment via Email to the designated recipients.

It mirrors to the following Smartsheet REST API method: POST /reports/{reportId}/emails

Public methodUpdatePublishStatus

Sets the publish status of a report and returns the new status, including the URLs of any enabled publishing.

It mirrors to the following Smartsheet REST API method: PUT /reports/{id}/publish

Top
See Also