Integrate Software AG Products Using Digital Event Services : MashZone NextGen Help : Appendix : Legacy Presto components : MashZone NextGen Development and APIs : Use Mashable/Mashup Technical Specs
Use Mashable/Mashup Technical Specs
Most of the information you need to invoke mashables or mashups programmatically using either the MashZone NextGen REST API or MashZone NextGen Connect for JavaScript (PC4JS) API is available as a Technical Spec on each mashable’s or mashup’s artifact page.
To find this information:
1. Find the mashable or mashup from Search in the MashZone NextGen Hub main menu or from other links and open the artifact page for that mashable or mashup.
2. If this is a mashable and it has more than one operation, choose the operation you want to invoke.
You can also change the input parameter values, if desired.
3. Select Show > Technical Spec. The specific details, including the REST URL to use and the content type are shown:
*To see raw mashable or mashup results in JSON format, right-click the URL and open this in another tab. This is the default format because of the x-p-resultFormat=json parameter.
*To export results as CSV:
*Right-click the URL and open this in another tab.
*Edit the URL in the address bar and change the parameter to x-p-resultFormat=csv.
*Save the results as a file when prompted.
*You can change any of the values for parameters or add or delete any MashZone NextGen Headers/Parameters to the URL, if needed.
If the mashable or mashup requires a POST request, this also includes a sample of the POST body:
4. If you are working in JavaScript, you can also simply copy and tweak any of the code samples shown:
This includes samples using MashZone NextGen Connect for JavaScript (PC4JS), the MashZone NextGen DataTable API or jQuery.
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback