Index DocuWare Table with JSON Data

I’m running a scenario that is triggered by the storage of a document in DocuWare. Specifically, when an invoice is stored, it is stored with a Store Number and a PO Number. Then, the scenario triggers and pulls data from other parts of the DocuWare system to update the invoice with data such as who the vendor is and GL Coding information. The GL Information goes into a table on the document and the only way I know how to update a table in DocuWare with Make is by JSON format.

This all works except that if the GL Coding has multiple lines of data, the data overwrites itself. For example, if the table needs to have to rows of GL Coding, the 2nd row overwrites the 1st row instead of just adding a row. I can’t figure out how to overcome this.

Howdy @Andrew_Koontz;

This is the first time hearing about DocuWare for me, so I’ll help using general knowledge.

In looking through the .NET documentation, it seems that multiple table rows requires multiple calls.

Digging into Postman collections, which is the API you’re working with, you probably need to break up the multiline JSON.

However, as I don’t know the table structure you’re working with, I’m not sure how solid my advice is.

Please provide screenshots, test data, and documentation for further assistance.