listDocuments function requires 'filename' argument

Do you want to create a native client or integrate with third party applications: webservices are the solution.

Moderator: car031

Locked
flogical
Posts: 5
Joined: Tue Nov 29, 2016 6:30 am

listDocuments function requires 'filename' argument

Post by flogical » Fri Dec 02, 2016 2:32 pm

As you can see here : http://docs.logicaldoc.com/resources/ws ... l#method27 In the request part, it mentions that the 'fileName' argument is NOT required. But when I am trying to use the listDocuments function it won't let me if I don't provide the 'fileName' argument.

I want to use listDocuments function without filtering for certain filenames. I want to get a full list of the documents in a folder. What can I do?

agaspa
Posts: 528
Joined: Tue Apr 20, 2010 8:24 am

Re: listDocuments function requires 'filename' argument

Post by agaspa » Tue Dec 27, 2016 12:48 pm

Hi flogical,
listDocuments in fact needs that parameter and it is used as a filter on the names of the documents found.
If you want all the files of a folder just use the character "*" or pass and empty string ""

Locked

Who is online

Users browsing this forum: No registered users and 1 guest