Hello,
I want in Visual Investigator 10.6 to attach a bunch of PDF to several elements of an entity (let's say 'test' entity). I know how to do that manually, but I have a lot of uploads to do and I would like to automatize this task with code. Do you have some experience or advice to do so? I suppose I have to use REST API calls, but I don't know which they are actually.
Thanks a lot for your help.
Regards,
JD
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
Hi JD,
Yes, this is possible to do through a number of API calls. Since attachments within VI are secured with extra authorization, you would need to upload files to a specific folder through the Files REST API and then attach the file through DataHub REST API.
There is a documentation I wrote up, describing on how to do this in more detail. However, I am afraid this is not a public facing document. Could you please contact Technical Support via https://support.sas.com/en/technical-support.html and we should be able to help you.
Cheers,
Paulius Peciura.
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
Hi Paulius,
Thank you for your response, that's exactly what I'm looking for. I understand there is no public documentation about that, but could you help me on the first REST API call, to upload files to a specific folder? I think I will be able to achieve the second one.
Cheers,
JD
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
Chartis names SAS a leader in both Model Risk Governance and Model Validation