Currently, the only way I can think of is to call a Webservice which connects to the REST API and sends the required requests.
There is no default function for this included in DocuWare.
Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant