Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created October 17, 2017 12:38
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/3ba24b59bb498d1a02b6ec3b0c4e77ef to your computer and use it in GitHub Desktop.
Save bjoerntx/3ba24b59bb498d1a02b6ec3b0c4e77ef to your computer and use it in GitHub Desktop.
ReportingCloud rc = new ReportingCloud(
"username",
"password",
new Uri("https://api.reporting.cloud"));
// create dummy data
Invoice invoice = new Invoice();
// create a new MergeBody object
MergeBody body = new MergeBody();
body.MergeData = invoice;
// merge the document
List<byte[]> results = rc.MergeDocument(body, templateName, ReturnFormat.PDF);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment