Returns the download information for a specific version of a document.

Syntax

Visual Basic (declaration)
Public Function GetDownloadInfoByVersion( _ 
ByVal AuthenticationTicket as String, _ ByVal Path as String, _ ByVal VersionNumber as Integer) as XmlNode

C# (declaration)
public XmlNode GetDownloadInfoByVersion( 
string AuthenticationTicket, string Path, integer VersionNumber)

Parameters

AuthenticationTicket
    string infoRouter ticket
Path
    string The path of the document
VersionNumber
    integer a version number of the document

Return Value

returns xml fragment.
<response success="true" Size="" VersionNumber="" error="">
if success attribute is "true", the download information has been returned successfully.
if success attribute is "false", the error attribute indicates the encountered error.
The "Size" attribute indicates the document size in bytes.

<response success="true" error="" Size="88576" ContentType="application/vnd.ms-excel" ModificationDate="2007-08-08 07:53:42" VersionNumber="1000001" AlterDocumentName="Annual operating budget 2007.xls"/>

Remarks

The caller must have at least "Read" permission on the document or must be the owner of the document.