Smartsheet.Api.Internal.FolderSheetResourcesImpl.CreateSheet C# (CSharp) Method

CreateSheet() public method

Creates a Sheet from scratch in the specified Folder.

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

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 CreateSheet ( long folderId, Sheet sheet ) : Sheet
folderId long the folder Id
sheet Sheet the sheet To create
return Sheet
        public virtual Sheet CreateSheet(long folderId, Sheet sheet)
        {
            return this.CreateResource<Sheet>("folders/" + folderId + "/sheets", typeof(Sheet), sheet);
        }