Integrate Software AG Products Using Digital Event Services 10.4 | Integrate Software AG Products Using Digital Event Services | MashZone NextGen Help | Appendix | Legacy Presto components | MashZone NextGen Development and APIs | MashZone NextGen APIs | MashZone NextGen REST API | Invoke Mashables or Mashups
 
Invoke Mashables or Mashups
The form for URLs to invoke MashZone NextGen mashables or mashups using the REST API is:
http://app-server:port/mashzone/edge/api/rest/mashable-mashup-id/operation-id[?input-parameters-if-any&presto-parameters-if-any
*mashable-mashup-id = the ID of the mashable or mashup to run. See Use Mashable/Mashup Technical Specs for information on obtaining artifact IDs.
*operation-id = the ID of the operation in this mashable or mashup to run.
Many mashables, such as syndicated web feeds, have a single operation. Mashups also have a single operation.
*input-parameters-if-any = add input parameters as query parameters in the URL when the mashable or mashup uses the HTTP GET action.
paramA=valueA&paramB=valueB
*presto-parameters-if-any = optionally, add any MashZone NextGen Headers/Parameters to the URL to control processing, request specific information in the response or pass additional information to a mashable. Some of the most common MashZone NextGen parameters include:
*x-p-anonymous to have this request treated as a guest user, with no authentication required.
*x-p-resultFormat to have MashZone NextGen return the response in CSV, JSON or XML formats.
*x-p-paginateStart and other pagination parameters to have MashZone NextGen paginate the result and return one 'page' of data.
See Working with theMashZone NextGenREST API for a basic example of using this API.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release