Sends an immediate OnChange distribution notification email to all subscribers of a document. This triggers the same notification that is automatically sent when a document changes, but fires it on demand regardless of whether the document has changed.
/srv.asmx/DistributeDocument
/srv.asmx/DistributeDocument?authenticationTicket=...&documentPath=.../srv.asmx/DistributeDocument (form data)http://tempuri.org/DistributeDocument| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser |
documentPath |
string | Yes | Full path of the document to distribute |
<root success="true" />
<root success="false" error="[ErrorCode] Error message" />
The caller must have read access to the document. Subscription notifications must be enabled in system settings.
GET /srv.asmx/DistributeDocument?authenticationTicket=abc123-def456&documentPath=/Library/Policies/policy.pdf HTTP/1.1
POST /srv.asmx/DistributeDocument HTTP/1.1
Content-Type: application/x-www-form-urlencoded
authenticationTicket=abc123-def456&documentPath=/Library/Policies/policy.pdf
POST /srv.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://tempuri.org/DistributeDocument"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<DistributeDocument xmlns="http://tempuri.org/">
<authenticationTicket>abc123-def456</authenticationTicket>
<documentPath>/Library/Policies/policy.pdf</documentPath>
</DistributeDocument>
</soap:Body>
</soap:Envelope>
Subscribe — Subscribe a user or group to a document or folder