Dear All,
I Have created a new entity in sas visual investigator 10.6 named UPLOAD. which the use of this entity I have created a custom Page where users can upload attachment for each new id which they created.
Now my requirement is I need to download or copy the attachment from the Entity in CLI.
I Used below API to extract the attachment using below API
curl --request GET \
--url https://example.com/svi-datahub/documents/{entityTypeName} \
--header 'Accept: application/json, application/vnd.sas.error' \
--header 'Accept-Item: ' \
--header 'Authorization: Bearer <access-token-goes-here>'
But it throws an error stating UPLOAD entity not found. But entity was created and given names matches.
Anyone kindly suggest how can I download the documents uploaded in Application using CLI