Return the versions of the document in the specified path.

Syntax

Visual Basic (declaration)
Public Function GetDocumentVersions( _ 
ByVal AuthenticationTicket as String, _ ByVal Path as String) as XmlNode

C# (declaration)
public XmlNode GetDocumentVersions( 
string AuthenticationTicket, string Path)

Parameters

AuthenticationTicket
    string infoRouter ticket
Path
    string Path of the document

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the document versions has been returned successfully like the sample below.
if success attribute is "false", the error attribute indicates the encountered error.

<response success="true" error="">
  <Versions>
    <Version Number="1000001">
      <Publisher>System Administrator</Publisher>
      <VersionSize>88576</VersionSize>
      <CheckSum>970A094B</CheckSum>
      <DatePublished>2007-08-08 07:53:42</DatePublished>
      <Comment>
      </Comment>
    </Version>
    <Version Number="1000000">
      <Publisher>System Administrator</Publisher>
      <VersionSize>94720</VersionSize>
      <CheckSum>EA4136FC</CheckSum>
      <DatePublished>2007-08-08 07:49:32</DatePublished>
      <Comment>
      </Comment>
    </Version>
  </Versions>
</response>

Remarks

The caller must have at least "Read" permission on the document.