Send Reports by Email
This command triggers the sending of reports by email.
Note:
The Command only works with non-interactive reports!
The fields for email addresses accept semicolon-separated values (e.g., “mail1@aagon.local;mail2@aagon.local”).
<ICQL>
<ACMP>
<SendReports ActionType="Request" version="1">
<TSendReportsRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ReportJobs>
<TReportJob_V1 xsi:type="TReportJob_V1">
<ReportID>ReportID</ReportID>
<ExportFormat>ExportFormat</ExportFormat>
<! Export Format:
refHTML
refPDF
refXLSX
refRTF
refXML
refPPTX
refDOCX
refODS
refODT
refTXT
refCSV
>
<MailSubject>MailSubject</MailSubject>
<MailBody>MailBody</MailBody>
<MailToRecipients>MailTo</MailToRecipients>
<MailCCRecipients>MailCC</MailCCRecipients>
<MailBCCRecipients>MailBCC</MailBCCRecipients>
</TReportJob_V1>
<TReportJob_V1 xsi:type="TReportJob_V1">
<ReportID>ReportID</ReportID>
<ExportFormat>ExportFormat</ExportFormat>
<! Export Format:
refHTML
refPDF
refXLSX
refRTF
refXML
refPPTX
refDOCX
refODS
refODT
refTXT
refCSV
>
<MailSubject>MailSubject</MailSubject>
<MailBody>MailBody</MailBody>
<MailToRecipients>MailTo</MailToRecipients>
<MailCCRecipients>MailCC</MailCCRecipients>
<MailBCCRecipients>MailBCC</MailBCCRecipients>
</TReportJob_V1>
</ReportJobs>
</TSendReportsRequest_V1>
</SendReports>
</ACMP>
</ICQL>
<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ACMP>
<SendReportsResponse>
<TSendReportsResponse_V1>
<ResultCode>0</ResultCode>
</TSendReportsResponse_V1>
</SendReportsResponse>
</ACMP>
</ICQL>