XML Structure
The XML Element Structure is as follows with required elements boldfaced:
ReportControl
ConnectionInformation
SystemDSN
DatabaseName
ReportPath
PreviewOptions
AllowExport
AllowPrint
AllowRefresh
AllowSearch
AllowZoom
ReportParameters
Parameter Name="ParameterName"
ParameterName
ReportRestriction
ReportControl and ReportPath are required elements.
The only time ConnectionInformation is not needed is for Remote SSRS reports, all other times it is required.
The "Parameter Name=" element is used when there are special characters in the name of the report parameter, such as spaces, but could be used for all report parameters.
Example: <Parameter Name="Service ID">123456</Parameter>
The ParameterName element is exactly that, the actual name of the report parameter without special characters (i.e. BatchNum or Service_ID).
Example: <Service_ID>123456</Service_ID>
The ReportRestriction element contains the information passed as if using the ParseToAddRestriction method which passes the SSRS Report Parameter(s).