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

GetPublishStatus() public method

Get the publish status of a report.

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

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 GetPublishStatus ( long reportId ) : ReportPublish
reportId long the reportId
return Smartsheet.Api.Models.ReportPublish
        public ReportPublish GetPublishStatus(long reportId)
        {
            return this.GetResource<ReportPublish>("reports/" + reportId + "/publish", typeof(ReportPublish));
        }