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
GetAssetShare(AssetType, string, string)
AssetShare GetAssetShare(AssetType assetType, string assetId, string shareId)
Parameters
Returns
ListAssetShares(AssetType, string, TokenPaginationParameters?, ShareScope?)
ListAssetSharesResponse ListAssetShares(AssetType assetType, string assetId, TokenPaginationParameters? tokenPaginationParameters = null, ShareScope? sharingInclude = null)
Parameters
assetTypeAssetTypeassetIdstringtokenPaginationParametersTokenPaginationParameterssharingIncludeShareScope?
Returns
ShareAsset(AssetType, string, IEnumerable<AssetShare>, bool?)
BulkItemResult<AssetShare> ShareAsset(AssetType assetType, string assetId, IEnumerable<AssetShare> shares, bool? sendEmail = null)
Parameters
assetTypeAssetTypeassetIdstringsharesIEnumerable<AssetShare>sendEmailbool?
Returns
UpdateAssetShare(AssetType, string, string, UpdateShareRequest)
AssetShare UpdateAssetShare(AssetType assetType, string assetId, string shareId, UpdateShareRequest updateShareRequest)
Parameters
assetTypeAssetTypeassetIdstringshareIdstringupdateShareRequestUpdateShareRequest