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">
	<VersionAuthor>System Administrator</VersionAuthor>
	<VersionAuthorId>4</VersionAuthorId>
	<VersionSize>62653</VersionSize>
	<CheckSum>26E3166B</CheckSum>
	<DateCreated>2014-04-07 12:25:42</DateCreated>
	<DatePublished>2014-04-07 12:27:14</DatePublished>
	<Comment>Revised fonts</Comment>
    </Version>
    <Version Number="1000000">
	<VersionAuthor>System Administrator</VersionAuthor>
	<VersionAuthorId>4</VersionAuthorId>
	<VersionSize>62655</VersionSize>
	<CheckSum>26E4163B</CheckSum>
	<DateCreated>2014-04-05 11:00:00</DateCreated>
	<DatePublished>2014-04-05 11:00:00</DatePublished>
	<Comment>Included the last quarter figures</Comment>
    </Version>
  </Versions>
</response>

Remarks

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