ODBC Driver for Box

Build 23.0.8839

ShareAnItem

Shares a File, Folder or Bookmark.

Input

Name Type Description
ItemId String The Id of the item to share.
ItemType String Specify the type of the item you want to share.

使用できる値は次のとおりです。file, folder, bookmark

デフォルト値はfileです。

Access String Access property of the shared link.

使用できる値は次のとおりです。open, company, collaborators

デフォルト値はopenです。

Unshared_At String Date to delete the shared link.
Password String Password of the shared link.
Can_Preview Boolean If the item should be available for preview. Can only be used with open and company access.

デフォルト値はtrueです。

Can_Download Boolean If the item should be available for download. Set this property only when you are trying to share a folder or a file and not a bookmark. Can only be used with open and company.

デフォルト値はtrueです。

AsUserId String The Id of the user you want to impersonate. Only works with Admin, Co-Admin and Service Accounts.

Result Set Columns

Name Type Description
Url String The newly created shared link for the item
Download_Url String The download URL for the item.
Download_Count String How many times the item has been downloaded from this shared link.
Is_Password_Enabled String If the URL is password-enabled or not.
Unshared_At String Date the item was or will be deleted.
Preview_Count String How many times the item has been previewed from this shared link.
Effective_Access String Access level set by an admin.
Success String Whether or not the file was successfully shared.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839