Click or drag to resize

WorkspaceResources Interface

This interface provides methods to access Workspace 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 WorkspaceResources

The WorkspaceResources type exposes the following members.

Properties
  NameDescription
Public propertyFolderResources

Return the WorkspaceFolderResources object that provides access to Folder resources associated with Workspace resources.

Public propertyShareResources

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

Public propertySheetResources

Return the WorkspaceFolderResources object that provides access to Folder resources associated with Workspace resources.

Top
Methods
  NameDescription
Public methodCopyWorkspace

Creates a copy of the specified Workspace.

It mirrors to the following Smartsheet REST API method:
POST /workspaces/{workspaceId}/copy

Public methodCreateWorkspace

Create a workspace.

It mirrors to the following Smartsheet REST API method: POST /Workspaces

Public methodDeleteWorkspace

Deletes the specified Workspace (and its contents).

It mirrors to the following Smartsheet REST API method: DELETE /workspaces{workspaceId}

Public methodGetWorkspace

Gets the specified Workspace (and lists its contents).

It mirrors to the following Smartsheet REST API method: GET /workspaces/{workspaceid}

Remarks

By default, this operation only returns the top-level items in the Workspace. To load all of the contents, including nested Folders, include the loadAll query string parameter with a value of true.

If no Folders, Sheets, Reports, or Templates are present in the Workspace, the corresponding attribute (e.g., "folders", "sheets") will not be present in the response object.

Public methodListWorkspaces

List all Workspaces.

It mirrors to the following Smartsheet REST API method: GET /Workspaces

Remarks
This operation supports pagination of results. For more information, see Paging.
Public methodUpdateWorkspace

Update a workspace.

It mirrors to the following Smartsheet REST API method: PUT /workspaces/{workspaceId}

Top
See Also