Creates an association between specified documents.

Syntax

Visual Basic (declaration)
Public Function AssociateDocument( _ 
ByVal AuthenticationTicket as String, _ ByVal DocumentPath as String, _ ByVal AssociateWith_DocumentPath as String, _ ByVal AssociationTypeID as Integer) as XmlNode

C# (declaration)
public XmlNode AssociateDocument( 
string AuthenticationTicket, string DocumentPath, string AssociateWith_DocumentPath, int AssociationTypeID)

Parameters

AuthenticationTicket
    string inforouter ticket
DocumentPath
    string The path of the document that the association will be created from.
AssociateWith_DocumentPath
    string The path of the document that the association will be created to.
AssociationTypeID
    int The id of the association types.

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the association between documents created successfully.
if success attribute is "false", the error attribute indicates the encountered error.

Remarks

Association Types can be listed using AssociationTypes method.