Search Results for

    Show / Hide Table of Contents

    Method StartFileTransactionCopy

    StartFileTransactionCopy(String, String)

    Starting a new file transaction by coping the file with the given fileId

    Declaration
    string StartFileTransactionCopy(string connectionId, string fileId)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    System.String fileId

    The file id of the file to copy

    Returns
    Type Description
    System.String

    Returns the fileId of the copied file

    Examples

    POST http://YourServerName/InfoShare/Json/File/StartFileTransactionCopy

    Example for start file transaction copy.

    {
       "connectionId": "bbf760ba-6bdb-45b6-9eec-992669fc7359",
       "fileId": "89dcf0ba-9c19-485b-bc0a-e8b5666866fa"
    }

    Response:

    {
        "StartFileTransactionCopyResult": "a878793c-2703-4870-bb07-fd49888b72f6"
    }
    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    ServiceException

    Verification code is needed: Verification code not yet verified (10152)

    ServiceException

    File {0} not available (10143)

    Back to top Copyright © Kendox