Smartsheet.Api.Internal.ReportResourcesImpl.SendReport C# (CSharp) Method

SendReport() public method

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

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 SendReport ( long reportId, SheetEmail email ) : void
reportId long the reportId
email Smartsheet.Api.Models.SheetEmail the Email
return void
        public virtual void SendReport(long reportId, SheetEmail email)
        {
            this.CreateResource<SheetEmail>("reports/" + reportId + "/emails", typeof(SheetEmail), email);
        }