Do we have any Rest service to get document id from document name?

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

Moderator: car031

vickyhukum
Posts: 7
Joined: Thu May 10, 2018 1:55 pm

Do we have any Rest service to get document id from document name?

Wed Jun 06, 2018 10:10 am

Hi,

Is there any service to get document id based on document name?
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: Do we have any Rest service to get document id from document name?

Wed Jun 13, 2018 8:58 am

Hi vicky,
you can use the full-text search using the filename

https://docs.logicaldoc.com/resources/w ... earch/find

In attachment an example for Python
Attachments
Python-samples.zip
search from REST
(918 Bytes) Downloaded 245 times
vickyhukum
Posts: 7
Joined: Thu May 10, 2018 1:55 pm

Re: Do we have any Rest service to get document id from document name?

Wed Jun 13, 2018 11:21 am

Hi,
Thanks for you reply. I check this service. It returns following response. I don't see any document id here:
{
"time": 875,
"estimatedHitsNumber": 0,
"hits": [],
"moreHits": 0,
"totalHits": 0
}
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: Do we have any Rest service to get document id from document name?

Wed Jun 13, 2018 2:59 pm

Perhaps the document you are looking for has not yet been indexed, check that it is searchable from the GUI

Return to “Web Services”

Who is online

Users browsing this forum: No registered users and 20 guests