Adds a document or folder to the current user’s download queue by path.
/srv.asmx/AddToDownloadQueue
/srv.asmx/AddToDownloadQueue?authenticationTicket=...&itemPath=.../srv.asmx/AddToDownloadQueue (form data)http://tempuri.org/AddToDownloadQueue| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
itemPath |
string | Yes | Full infoRouter path of the document or folder to add (e.g. /Finance/Reports/Q1Summary.pdf or /Finance/Reports). |
<root success="true" />
<root success="false" error="Error message" />
Any authenticated user may call this API. The item is added to the queue of the currently authenticated user only. No special permissions are required beyond being able to see the item.
The itemPath is resolved as a document first. If no document exists at that path, it is resolved as a folder. If neither is found, an error is returned.
POST /srv.asmx/AddToDownloadQueue HTTP/1.1
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
&itemPath=%2FCorporate%2FContracts%2Fagreement.pdf
GET /srv.asmx/AddToDownloadQueue
?authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
&itemPath=%2FCorporate%2FContracts
HTTP/1.1
Host: yourserver
| Error | Description |
|---|---|
[900] |
Authentication failed — invalid credentials. |
[901] |
Session expired or invalid authentication ticket. |
| Item not found | itemPath does not refer to an existing document or folder. |
| Already in queue | The item is already present in the user’s download queue. |