ListDocument
Function that lists document in given folder. Documents can be stored in most of the folders of tree structure. Therefore any context ID (Folder, Project or Activity) may act as document placeholder = parent
WSDL
document_library.wsdl
Example Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://atollon.com/enterprise/wsdl">
<soapenv:Header/>
<soapenv:Body>
<wsdl:ListDocument>
<server>multi</server>
<session>BDA7025DFBA9CDF53AE306DB4372AF3492FA59DBBD04</session>
<limit>100</limit>
<offset>0</offset>
<parent>134567102</parent>
<RESTRICTIONS>and aa.doc_parent is null</RESTRICTIONS>
</wsdl:ListDocument>
</soapenv:Body>
</soapenv:Envelope>
The restriction means no document versions would be returned as a result of query.
Example Response
<ns0:Envelope xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://atollon.com/enterprise/wsdl">
<ns0:Body>
<ns1:ListDocumentResponse>
<result>OK</result>
<time>0.01323104</time>
<count>1</count>
<DOCUMENT>
<folder/>
<createdByName>AdminAtollon</createdByName>
<id>141942102</id>
<acl>DLIB000000008997</acl>
<name>1PMP-Canvas.pdf</name>
<description/>
<descriptionId/>
<validByDate>0</validByDate>
<createdBy>133780102</createdBy>
<fileHandle>2020/06/22/141941102</fileHandle>
<lang>0</lang>
<treeHandle>134567102</treeHandle>
<fileSize>204248</fileSize>
<printed>0</printed>
<internalNumber/>
<barcode/>
<internalType>3</internalType>
<fileName>1PMP-Canvas.pdf</fileName>
<lock>0</lock>
<deleted>0</deleted>
<creationDate>2020-06-22T16:27:00</creationDate>
<lastChangeDate>2020-06-22T16:27:00</lastChangeDate>
<validFrom>2020-06-22T00:00:00</validFrom>
<validTo>2020-06-22T00:00:00</validTo>
<parentName/>
<originalName/>
<categoryName/>
<locationName/>
<typeName/>
<storageId>134687102</storageId>
<storageSubdir/>
<isInStorage>1</isInStorage>
<mimeContentType>application/pdf; charset=binary</mimeContentType>
</DOCUMENT>
</ns1:ListDocumentResponse>
</ns0:Body>
</ns0:Envelope>