Skip to main content

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.

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