Fetch Documents from ID list

I'm looking for the right operation with 'Automation' or 'REST' API to fetch Documents from a list of documents IDs (inputs). I've tried 'Context.FetchDocument' so far but it cannot be invoked with an array of IDs (even if the signature says Inputs: document, documents)

Thanks

0 votes

0 answers

2189 views

ANSWER

Ok, found it. I use the object "DocRefs" to pass the IDs to the operation's input.

DocRefs references = new DocRefs(); references.add(new DocRef([uuid]); references.add(new DocRef([uuid]);

11/02/2015