Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created November 2, 2016 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/eb808595ef9ba12db1eec9c67f4496a3 to your computer and use it in GitHub Desktop.
Save bjoerntx/eb808595ef9ba12db1eec9c67f4496a3 to your computer and use it in GitHub Desktop.
Report report = new Report();
report.name = "Name";
report.conditional = new Conditional();
ReportingCloud rc = new ReportingCloud("username", "password");
MergeBody body = new MergeBody();
body.MergeData = report;
body.MergeSettings = new MergeSettings() {
RemoveEmptyBlocks = true
};
List<byte[]> docs = rc.MergeDocument(body, "conditional_template.tx", ReturnFormat.TX);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment