Uploads a new document or creates a new version of an existing document in byte array format to the specified path - UploadDocumentWithHandler - Original method

Syntax

Visual Basic (declaration)
Public Function UploadDocumentWithHandler( _ 
ByVal AuthenticationTicket as String, _ ByVal Path as String, _ ByVal UploadHandler as String) as XmlNode

C# (declaration)
public XmlNode UploadDocumentWithHandler( 
string AuthenticationTicket, string Path, string UploadHandler)

Parameters

AuthenticationTicket
    string inforouter ticket
Path
    string An infoRouter document path that to be created or updated
UploadHandler
    string The upload handler

Return Value

returns xml fragment.
<response success="true" error="">
if success = "true", the document has been uploaded.
if success = "false", the error attribute returns the error description.

Remarks

The file must be uploaded before calling this method.
The caller must have at least "Add" permissions on the folder.
If the specified path does not exist, the path will be created.
If a document with the same name already exists in the same path, a new version of the existing document will be created.