Search Results for

    Show / Hide Table of Contents

    Method GetDownloadShare

    GetDownloadShare(String, String, String)

    Download document share file as stream

    Declaration
    Stream GetDownloadShare(string tenantName, string documentShareId, string contentType)
    Parameters
    Type Name Description
    System.String tenantName

    The tenant name.

    System.String documentShareId

    The document share id

    System.String contentType

    The content type to return. Default value: application/octet-stream

    Returns
    Type Description
    System.IO.Stream

    Document share file stream

    Remarks

    Used for direct HTTP download. Cannot be called directly via the API because no valid XML / JSON ticket is sent back here. Only support from IE 9.0 and newer.

    Examples

    Example for download temporary file as stream.
    GET http://YourServerName/InfoShare/Json/File/GetDownloadShare?tenantName=DCIS_KENDOXDatabase&documentShareId=4134c72d-939a-4f08-976c-58450254b5e7&contentType=application/octet-stream

    Back to top Copyright © Kendox