LogicalDoc RestApi to upload document

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

Moderator: car031

SomeshB
Posts: 2
Joined: Tue Apr 21, 2020 11:45 am

LogicalDoc RestApi to upload document

Thu Apr 23, 2020 5:36 am

Hello,
I have created an application using logicalDoc restapi in java spring boot.
I am using LogicalDoc Enterprise Trial 8.4 Version. Since I want to just search a document and upload a document through logicalDoc restapi. I am not able to upload a document through restapi.
Maybe I am somewhere wrong in my way or procedure. Can I get help regarding this issue.
like any library or some other way to use the restapi. It would be helpful if I get any example.
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: LogicalDoc RestApi to upload document

Fri Jun 26, 2020 10:09 am

You can upload a document to LogicalDOC 8.4.2 via REST using 2 methods:

/document/create
https://docs.logicaldoc.com/resources/w ... teDocument
Or
/document/upload
https://docs.logicaldoc.com/resources/w ... ent/upload

In attachment you can find a couple of examples

Note:
You can browse the LogicalDOC's Wiki for more web-service examples
https://wiki.logicaldoc.com/wiki/Bindings_And_Samples

You can also try the Python SDK API you can download from SwaggerHub
https://app.swaggerhub.com/apis/swatzni ... _api/8.4.2
SwaggerHub-download-client-SDK.png
SwaggerHub download client SDK
SwaggerHub-download-client-SDK.png (246.3 KiB) Viewed 11050 times
Attachments
Python-REST-create-document.zip
create document LD 8.4.2
(2.44 KiB) Downloaded 411 times

Return to “Web Services”

Who is online

Users browsing this forum: No registered users and 10 guests