Skip to main content
Question

Checkout and Checkin documents with REST API in Aurena (Docman)

  • September 2, 2022
  • 1 reply
  • 184 views

ZIGESAMM
Do Gooder (Customer)
Forum|alt.badge.img+7

After testing several suggestion from the community and reading lot of documentation, not all efforts were successful with RESTful document managment.

The creating of a document with REST is working good (as described in sevaral topics here). But checkout and checkin of existing document files seems a little bit tricky.

Example Checkout (main steps):

  1. POST: ‘int/ifsapplications/projection/v1/DocumentRevisionHandling.svc/StartFileCheckout’ with payload {"DocClass":"INVOICE","DocNo":"1000004","DocSheet":"1","DocRev":"A1"}
  1. POST: ‘int/ifsapplications/projection/v1/DocumentRevisionHandling.svc/FinishFileCheckoutWithPath’ with payload {"DocClass":"INVOICE","DocNo":"1000004","DocSheet":"1","DocRev":"A1","Path":"C:\\Users\\xxx\\Documents\\IFS","Filename":"rg1.TXT"}

Having a look on the logging during a checkout and checkin there are several steps with the aurena agent. The commands with agentcalls are not initiated by the REST-requests.

Has anyone experience with REST api to check in an checkout document files?

Is there a possibility to control the process by the REST-API or is there a need to put some code to the client javacode?

Please give an example if there is a solution for that.

1 reply

Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+32
  • Superhero (Employee)
  • 2831 replies
  • September 5, 2022

Hi,

When you test the edit + check in flow in IFS, make sure to disable the Aurena Agent. Then you will see all the network calls that is been done for our file operations, with one exception: edit and view document calls. The problem is that the file download happens in it's own window/tab and you will not be able to see that network calls because you don't have time to open the Network tab on the window/tab that opens.

Possibly you can get some information from the debug console or log window as well.
 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings