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

CreateSheet() public method

Create a sheet in given workspace.

It mirrors To the following Smartsheet REST API method: POST /workspaces/{workspaceId}/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 workspaceId, Sheet sheet ) : Sheet
workspaceId long the workspace Id
sheet Sheet the sheet To create
return Sheet
        public virtual Sheet CreateSheet(long workspaceId, Sheet sheet)
        {
            return this.CreateResource<Sheet>("workspaces/" + workspaceId + "/sheets", typeof(Sheet), sheet);
        }