• ShareFile.Api.Models.Share
  • ShareFile.Api.Models.Share

    Shares represent the "Send File" and "Request File" actions initiated by ShareFile users. Shares allows users to give temporary access to specific set of files or folders, allowing other users to download or upload files even though they would not have permissions otherwise.

    NameTypeDescription
    AliasIDString When a Share is sent to multiple users, with RequireLogin or RequireUserInfo set, then a different Share Alias is created for each user. The email ShareFile sends to these users will contain different AliasIDs, allowing ShareFile to track the user activity on the share. For anonymous Shares, the AliasID will be the same as the Share ID.
    ShareTypeShareType Either "Send" or "Request". Send Shares are used to Send files and folders to the specified users. Request shares are used to allow users to upload files to the share owner chosen location.
    TitleString Share title
    HasSentMessageBoolean Flag to indicate if ShareFile has sent email messages for this Share
    SentMessageTitleString Subject of Share email message
    RequireLoginBoolean If set, only authenticated users can download files from this share.
    RequireUserInfoBoolean If set, users must provide Name, Email and Company information to download files from the share.
    ParentItem Folder location that contain the share files (Send); or the folder were files will be uploaded to (Request).
    CreatorUser User that created this Share.
    UserUser User given permission to use this share - used for Aliases.
    ItemsList of Item List of shared Items (for Send Shares only)
    CreationDateDateTime Date the share was created
    ExpirationDateDateTime Date the share expires
    MaxDownloadsInt32 Maximum number of downloads each user can perform.
    TotalDownloadsInt32 Total number of times a share has been downloaded by a user.
    IsViewOnlyBoolean Indicates the files in the share can only be viewed, but not downloaded
    TrackUntilDateDateTime User activity on this share will be tracked up to this date.
    IsConsumedBoolean Indicates whether or not this Share has been downloaded
    IsReadBoolean Indicates whether the contents of this share have been viewed by a valid, authenticated recipient
    UsesStreamIDsBoolean When enabled the items are identified by stream IDs instead of item IDs. Applies to Send Shares only.
    UriUri Uri to access the share through the Web portal
    RecipientsList of ShareAlias List of users that have access to this share.
    ZoneZone The Storage Zone that contains this Share.
    SignatureString HMAC Signature for the Share data
    HasRemoteChildrenBoolean Defines whether the request to retrieve Share Items is to be navigated to a remote endpoint.
    RedirectionRedirection Redirection endpoint for this Share.
    ShareItemHistoryList of ShareItemHistory Shared item history.
    SettingsShareSettings Current Settings for the Share
    ShareAccessRightShareAccessRight Type of the Share
    IsPersistentLinkBoolean Indicates whether or not a share is a persistent link Applies to Send Shares only.
    PersistentLinkTargetIDString Target ID of file or stream being shared via this persistent link. Applies to persistent link shares only. Applies to Send Shares only.
    PersistentLinkTargetCreationDateDateTimeOffset Creation date of the version of the file being shared via this persistent link. Applies to persistent link shares with UsesStreamIDs set to false only. Applies to Send Shares only.