Returns a list of documents and folders in the specified path in short form.

Syntax

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

C# (declaration)
public XmlNode GetFoldersAndDocuments1( 
string AuthenticationTicket, bool Path)

Parameters

AuthenticationTicket
    string infoRouter ticket
Path
    bool An infoRouter folder path

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the folder and document list has been retrived successfully.
if success attribute is "false", the error attribute indicates the encountered error.

<response success="true" error="" folderid="10125" parentid="0" name="Annoucements" path="\Annoucements" folderfilter="" documentfilter="" itemcount="6">
  <f id="10314" n="Memorandums" />
  <d id="11279" n="Football Party.pdf" mdate="2005-11-23 09:15:54" cdate="2007-06-14 10:58:13" size="104408" dformat="Office Document" chkoutbyusername="" chkoutbyfullname="" version="1000000" />
  <d id="11280" n="Hoops.pdf" mdate="2005-11-23 09:19:58" cdate="2007-06-14 10:58:13" size="140892" dformat="Office Document" chkoutbyusername="" chkoutbyfullname="" version="1000000" />
  <d id="11793" n="Office Party.pdf" mdate="2007-08-02 07:13:16" cdate="2007-08-02 07:13:16" size="54556" dformat="Office Document" chkoutbyusername="" chkoutbyfullname="" version="1000000" />
  <d id="11283" n="Soccer Tournament.pdf" mdate="2005-11-23 09:30:42" cdate="2007-06-14 10:58:13" size="40593" dformat="Office Document" chkoutbyusername="" chkoutbyfullname="" version="1000000" />
  <d id="11794" n="Training Annoucement.pdf" mdate="2007-08-02 07:13:40" cdate="2007-08-02 07:13:40" size="44171" dformat="Office Document" chkoutbyusername="" chkoutbyfullname="" version="1000000" />
</response>

Remarks

The caller must have at least "List" permission on the folder.