Returns the comments of the document in the specified path.

Syntax

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

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


<response success="true" error="">
  <Comments>
    <Comment AuthorID="10119" AuthorName="Adam Boeve" CommentDate="2007-08-03 15:56:03">I agree. This is a good looking document. Let's keep it the way it is.</Comment>
    <Comment AuthorID="4" AuthorName="System Administrator" CommentDate="2007-08-02 12:42:11">I think this document turned out just fine.</Comment>
  </Comments>
</response>

Remarks

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