You are viewing limited content. For full access, please sign in.

Question

Question

Does this API method exist in On-Prem?

asked on June 8, 2023

The following method is not listed in the On-Prem swagger page but I did find it when searching the support site, however it returns a 404 (Does not exist) from my On-Prem installation. Does it only exist in the Cloud API?

repository/v1/Repositories/<Repository Name>/Entries/<Folder ID>/<Document Name>

https://developer.laserfiche.com/guides/guide_importing-documents.html

0 0

Answer

SELECTED ANSWER
replied on June 8, 2023

Hi Chad, on-prem do have this import api. It's showing as below on our own on-prem swagger page.

1 0
replied on June 8, 2023

I overlooked it when looking through the operations. This also solved my problem as the documentation I found had a URI of /repository/v1/And Swaggar has a URI /LFRepositoryAPI/v1/ so this is why I got the 404. With the On-Prem we need to use LFRepositoryAPI instead of repository.

Now it is working, thank you!

 

2 0

Replies

replied on June 8, 2023 Show version history

Hi Chad, could you double check your request to make sure it follows the API definition here (https://api.laserfiche.com/repository/swagger/index.html?urls.primaryName=v1#/Entries/ImportDocument)? Are you using POST for the API method?

On-prem also has the import API that shares the same route as cloud API.

1 0
replied on June 8, 2023

Got it solved after using the swagger URI instead of the online documentation URI. That was the problem, thanks!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.