Integrate Software AG Products Using Digital Event Services : MashZone NextGen Help : Appendix : Legacy Presto components : Mashables and Mashups : Mashables : Connect Information Sources as Mashables : Register REST Web Services : REST Web Services with Input Documents
REST Web Services with Input Documents
If the REST web service needs more complex input that cannot be passed in the URL, you must set document properties for this mashable. When users or apps run the mashable, MashZone NextGen sends a request to the web service using the HTTP POST operation.
Set the Requires Input Document option. Then choose the correct MIME type for this web service as the Document Type.
*text/xml = for input in an XML format.
*text/json = for input in a JSON (JavaScript Object Notation) format.
*text/plain = for input that is just text.
*url-form-encoded = for input that comes from an HTML <form> or is in the form of name/value pairs.
*Or enter the appropriate MIME type
Enter or paste a Sample Document in the format required for the input document that this web service expects. Provide default values for fields as needed.
MashZone NextGen validates the sample input document that you supply and the default values. They are also used to generate metadata for the mashable.
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback