Table of Contents

Interface AssetSharingResources

Namespace
Smartsheet.Api
Assembly
smartsheet-csharp-sdk.dll

This interface provides methods to access asset-based Sharing resources.

Thread Safety: Implementation of this interface must be thread safe.

public interface AssetSharingResources

Methods

DeleteAssetShare(AssetType, string, string)

void DeleteAssetShare(AssetType assetType, string assetId, string shareId)

Parameters

assetType AssetType
assetId string
shareId string

GetAssetShare(AssetType, string, string)

AssetShare GetAssetShare(AssetType assetType, string assetId, string shareId)

Parameters

assetType AssetType
assetId string
shareId string

Returns

AssetShare

ListAssetShares(AssetType, string, TokenPaginationParameters?, ShareScope?)

ListAssetSharesResponse ListAssetShares(AssetType assetType, string assetId, TokenPaginationParameters? tokenPaginationParameters = null, ShareScope? sharingInclude = null)

Parameters

assetType AssetType
assetId string
tokenPaginationParameters TokenPaginationParameters
sharingInclude ShareScope?

Returns

ListAssetSharesResponse

ShareAsset(AssetType, string, IEnumerable<AssetShare>, bool?)

BulkItemResult<AssetShare> ShareAsset(AssetType assetType, string assetId, IEnumerable<AssetShare> shares, bool? sendEmail = null)

Parameters

assetType AssetType
assetId string
shares IEnumerable<AssetShare>
sendEmail bool?

Returns

BulkItemResult<AssetShare>

UpdateAssetShare(AssetType, string, string, UpdateShareRequest)

AssetShare UpdateAssetShare(AssetType assetType, string assetId, string shareId, UpdateShareRequest updateShareRequest)

Parameters

assetType AssetType
assetId string
shareId string
updateShareRequest UpdateShareRequest

Returns

AssetShare