Hi Zarko,
Probably in my experience and awareness, you should use a Java code like referred in the link below, set to accept parameters of credentials, URI, domain, object store and folder ID-
Working with Documents - IBM Documentation
Prepare a JAR file and use it as a service supported by server file (JAR)... you would have to pass the arguments as required by the method.
Thanks
Harrish
------------------------------
Harrish Narayanan
------------------------------