Transfers document subscriptions from one user to another. The target user is subscribed to all documents that the source user currently subscribes to.
/srv.asmx/TransferUserDocumentSubscriptions
/srv.asmx/TransferUserDocumentSubscriptions?authenticationTicket=...&fromUserName=...&toUserName=.../srv.asmx/TransferUserDocumentSubscriptions (form data)http://tempuri.org/TransferUserDocumentSubscriptions| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
fromUserName |
string | Yes | The username whose document subscriptions will be transferred. |
toUserName |
string | Yes | The username who will receive the document subscriptions. |
<root success="true" />
<root success="true" warnings="Some document subscriptions could not be transferred." />
<root success="false" error="[ErrorCode] Error message" />
System administrator. Only system administrators can transfer user data between accounts.
GET /srv.asmx/TransferUserDocumentSubscriptions
?authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&fromUserName=jdoe
&toUserName=jsmith
HTTP/1.1
POST /srv.asmx/TransferUserDocumentSubscriptions HTTP/1.1
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&fromUserName=jdoe
&toUserName=jsmith
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="http://tempuri.org/">
<soap:Body>
<tns:TransferUserDocumentSubscriptions>
<tns:AuthenticationTicket>3f2504e0-4f89-11d3-9a0c-0305e82c3301</tns:AuthenticationTicket>
<tns:FromUserName>jdoe</tns:FromUserName>
<tns:ToUserName>jsmith</tns:ToUserName>
</tns:TransferUserDocumentSubscriptions>
</soap:Body>
</soap:Envelope>
toUserName is subscribed to all documents that fromUserName is currently subscribed to.toUserName is already subscribed are skipped without error.<root>, not <response>.| Error | Description |
|---|---|
[900] Authentication failed |
Invalid or missing authentication ticket. |
[901] Session expired or Invalid ticket |
The ticket has expired or does not exist. |
| User not found | The specified fromUserName or toUserName does not exist. |
| Access denied | The calling user is not a system administrator. |
SystemError:... |
An unexpected server-side error occurred. |