Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
roywinkelvicta
Partner - Contributor II
Partner - Contributor II

Upload dataset to Qlik Sense Saas with API

Hello,

Is it possible to upload datasets through the api or other means to Qlik Cloud # (not the Qlik Data Transfer tool)
I can find datasets in items but no upload. And I find something about temp-contents, but thats not clear to me what this does.

Thanks in advance,

Roy

Labels (1)
  • SaaS

1 Solution

Accepted Solutions
roywinkelvicta
Partner - Contributor II
Partner - Contributor II
Author

This works, but not really fast. But for now OK.

curl "https://your-tenant.eu.qlikcloud.com/api/v1/temp-contents?filename=Filename.csv&ttl=200" \
 -X POST \
 -H "Authorization: Bearer {{key}}" \
 -H "Content-type: application/octet-stream" \
 --data-binary "@D:/Data/Filename.csv"

 curl "https://your-tenant.eu.qlikcloud.com/api/v1/qix-datafiles?name=Filename.csv&tempContentFileId=In-Return-Header-Prev-Request" \
 -X POST \
 -H "Authorization: Bearer {{key}}"

 

 

 

 

View solution in original post

2 Replies
roywinkelvicta
Partner - Contributor II
Partner - Contributor II
Author

This works, but not really fast. But for now OK.

curl "https://your-tenant.eu.qlikcloud.com/api/v1/temp-contents?filename=Filename.csv&ttl=200" \
 -X POST \
 -H "Authorization: Bearer {{key}}" \
 -H "Content-type: application/octet-stream" \
 --data-binary "@D:/Data/Filename.csv"

 curl "https://your-tenant.eu.qlikcloud.com/api/v1/qix-datafiles?name=Filename.csv&tempContentFileId=In-Return-Header-Prev-Request" \
 -X POST \
 -H "Authorization: Bearer {{key}}"

 

 

 

 

PadmaPriya
Support
Support

Thanks @roywinkelvicta  for sharing your feedback.

 

We will look into the robustness of the product.

 

Thanks,

Padma Priya

Help users find answers! Don't forget to mark a solution that worked for you! If already marked, give it a thumbs up!