Returns the view log of the document in the specified path.

Syntax

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

C# (declaration)
public XmlNode GetDocumentViewLog( 
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 View log has been returned successfully like the sample below.
if success attribute is "false", the error attribute indicates the encountered error.

<response success="true" error="">
  <ViewLog>
    <Version Number="1000001" UserID="4" Viewer="System Administrator" ViewDate="2007-12-24 16:10:01" />
    <Version Number="1000001" UserID="10112" Viewer="Michael York" ViewDate="2007-12-19 14:26:31" />
  </ViewLog>
</response>

Remarks

The caller must have "Full Control" permission on the document.