Open simonxuhao opened 1 year ago
Hello, First I thing you don't need to create XML in your json you can only use json. Then, you can find the complete documentation of the CreateSubscription just here with all parameter definition: https://learn.microsoft.com/fr-fr/dotnet/api/reportservice2010.reportingservice2010.createsubscription?view=sqlserver-2016#reportservice2010-reportingservice2010-createsubscription(system-string-reportservice2010-extensionsettings-system-string-system-string-system-string-reportservice2010-parametervalue())
When using the following code to create subscription:
I always get the following error:
The error message is:
This report requires a default or user-defined value for the report parameter report_request_id. To run or subscribe to this report, you must provide a parameter value.
I also tried
const Parameters = { report_request_id: 100 }
but got the same error.How can I specify this parameter when calling client.CreateSubscription()?
BTW, the readme mentioned
ReportParameterInfo
, where is it defined?