Moves a document or folder to the specified destination path.

Syntax

Visual Basic (declaration)
Public Function Move( _ 
ByVal AuthenticationTicket as String, _ ByVal SourcePath as String, _ ByVal DestinationPath as String) as XmlNode

C# (declaration)
public XmlNode Move( 
string AuthenticationTicket, string SourcePath, string DestinationPath)

Parameters

AuthenticationTicket
    string infoRouter ticket
SourcePath
    string A document or a folder path to be moved.
DestinationPath
    string New Path for the document or the folder.

Return Value

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

Remarks

The caller must have "Full Control" permissions on source document or folder and "Add" permissions on the destination folder.
The source Folder must allow deletes and the destination folder must allow adds (Folder Rules).