Rest Api Search by attribute and automate upload process
Posted: Sun Aug 11, 2019 12:37 pm
Dear All, I am new to logicaldoc (using community edition), today only installed I am trying to search all documents in specific folder using folder id and attribute (which is user defined), I had gone to rest api docs but could not find which parameter to use
Here is example
search by folder id and usrid
search by folder id, usrid and year
As you can see, above I would like to list all documents in folderId=101, along with documents whose usrid=18788
Also I have directory in which around 600 files are there, I would like to upload them to folderId=101, along with custom attribute, I am not sure whether bulk upload possible or not, I already made csv file which looks like below
Here is example
search by folder id and usrid
Code: Select all
http://localhost:8085/services/rest/document/listDocuments?folderId=101&usrid=18788
Code: Select all
http://localhost:8085/services/rest/document/listDocuments?folderId=101&usrid=18788&year=2018
As you can see, above I would like to list all documents in folderId=101, along with documents whose usrid=18788
Also I have directory in which around 600 files are there, I would like to upload them to folderId=101, along with custom attribute, I am not sure whether bulk upload possible or not, I already made csv file which looks like below
Code: Select all
usrid,year,file
18788,2018,doc1.pdf
18788,2019,doc2.pdf