Forum Discussion

mbutler71's avatar
mbutler71
Advocate I
2 years ago

Has anyone gotten this API to disable a Direct Query refresh that is enabled?

Datasets - Update Direct Query Refresh Schedule

datasets/$DatasetId/directQueryRefreshSchedule

Has anyone got this to work?

Trying to run this API and using the example on the Microsoft site:

With this JSON Body: 
{ "value": { "enabled": false } }

This always brings back a 400 error:
{"error": {"code": "BadRequest","message": "Bad Request","details": [{"message": "Value cannot be null.\r\nParameter name: nullableType","target": "datasetDQRefreshSchedule"}]}}

2 Replies