Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm currently trying to reload a particular dataset in Qlik Data Integration tasks using the "Request Dataset Reload" REST API.
However, when I call this endpoint, all datasets within the task are getting reloaded instead of only the specified dataset.
Is there any way to trigger the reload for a specific dataset within a task using the REST API?
End-point used: https://{tenant-id}.us.qlikcloud.com/api/v1/di-projects/{projectId}/di-tasks/{dataTaskId}/actions/request-reload
Request Body used: (Below is triggering full-load for all datasets)
Additionally while using the below request body, i'm getting error
From my experience with Qlik Data Integration APIs, the request-reload endpoint currently operates at the task level, not at a granular dataset level—even though the selectedDatasets parameter is present in the request body.
A couple of important points to check:
"name" field in selectedDatasets must exactly match the internal dataset name defined in the task (case-sensitive). Even then, partial reload behavior is not consistently supported across all task types."datasetId" you’re using may not be the actual internal identifier expected by the API. In most cases, this value differs from the display name and must be retrieved via metadata APIs (like listing datasets under the DI task).Workarounds you might consider:
Thanks for your suggestion, @Sunilsahu_345 . However, the documentation mentions that selective datasets can be reloaded:
https://qlik.dev/apis/rest/di-projects/#post-api-v1-di-projects-projectId-di-tasks-dataTaskId-action...
BTW, I'll proceed with reaching out to the Qlik team through a support case.
The issue is happening because the API does not recognize the dataset name when you use name, so it ends up running a full reload of all datasets. When you use datasetId, it fails because Qlik expects the internal dataset ID, not the dataset name like wd_vas_codes. You need to first get the task details, find the actual dataset ID from the response, and use that in your request. In some cases, even after using the correct ID, Qlik still reloads everything because partial dataset reload is not supported for every task type.