Removes an existing association between two infoRouter items (documents or folders). The source item can be a document or a folder; the target item can likewise be a document or a folder. Use this API to clean up stale cross-references or to undo an association created by AssociateDocument or AssociateFolder.
/srv.asmx/RemoveAssociation
/srv.asmx/RemoveAssociation?AuthenticationTicket=...&ItemPath=...&AssociationWith_ItemPath=...&IsReverseAssociation=.../srv.asmx/RemoveAssociation (form data)http://tempuri.org/RemoveAssociation| Parameter | Type | Required | Description |
|---|---|---|---|
AuthenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
ItemPath |
string | Yes | Full infoRouter path to the first item in the association (e.g. /Finance/Reports/Q1-Report.pdf). When IsReverseAssociation is false this is the source item; when IsReverseAssociation is true this is the target item. |
AssociationWith_ItemPath |
string | Yes | Full infoRouter path to the second item in the association. When IsReverseAssociation is false this is the target item; when IsReverseAssociation is true this is the source item. |
IsReverseAssociation |
bool | Yes | Determines which item is treated as the source (the owner of the association record). Pass false when ItemPath is the source and AssociationWith_ItemPath is the target. Pass true to swap the roles so that AssociationWith_ItemPath is the source and ItemPath is the target. This must match the direction used when the association was originally created. |
<response success="true" />
<response success="false" error="Insufficient rights." />
The calling user must have the DocumentPropertyChange permission on the source item (i.e. the item that owns the association record). For documents this is typically the document owner, the domain manager, or a user with Edit access. Read-only users cannot remove associations.
GET /srv.asmx/RemoveAssociation
?AuthenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&ItemPath=/Finance/Reports/Q1-2024-Report.pdf
&AssociationWith_ItemPath=/Finance/Reports/Q1-2024-Report-Final.pdf
&IsReverseAssociation=false
HTTP/1.1
POST /srv.asmx/RemoveAssociation HTTP/1.1
Content-Type: application/x-www-form-urlencoded
AuthenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&ItemPath=/Finance/Reports/Q1-2024-Report.pdf
&AssociationWith_ItemPath=/Finance/Reports/Q1-2024-Report-Final.pdf
&IsReverseAssociation=false
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="http://tempuri.org/">
<soap:Body>
<tns:RemoveAssociation>
<tns:AuthenticationTicket>3f2504e0-4f89-11d3-9a0c-0305e82c3301</tns:AuthenticationTicket>
<tns:ItemPath>/Finance/Reports/Q1-2024-Report.pdf</tns:ItemPath>
<tns:AssociationWith_ItemPath>/Finance/Reports/Q1-2024-Report-Final.pdf</tns:AssociationWith_ItemPath>
<tns:IsReverseAssociation>false</tns:IsReverseAssociation>
</tns:RemoveAssociation>
</soap:Body>
</soap:Envelope>
IsReverseAssociation flag determines which item is the source (the item that owns the association record in the database). You must pass the same direction that was used when the association was created, otherwise the association will not be found and the call will fail.success="false".| Error | Description |
|---|---|
[900] Authentication failed |
Invalid or missing authentication ticket. |
[901] Session expired or Invalid ticket |
The ticket has expired or does not exist. |
Insufficient rights. |
The calling user does not have the required permission on the source item. |
[error from path resolution] |
One or both of the supplied paths could not be resolved to an existing document or folder. |
SystemError:... |
An unexpected server-side error occurred. |