Skip to content

Generate Tab

Submit Object Request

The button which lets the user create and submit an MDCMS Object Request for the selected path and method.

When the Submit Object Request button is clicked, a popup form appears which lets you select a path and the method from the dropdown lists.

After the path and method are selected form the dropdown and the button is clicked, the "Add/Edit Object Request" form appears.

Click the button and the Object request is submitted.

the Submission response modal shows up.

MDRSTCFG Submission!

MDRSTCFG Submission will happen only if MDRSTCFG is not blank in the MDCMS values section of the Configuration settings

View Source

The dropdown button which lists all the generated members.

This option lets you view the generated RPG source. The user can select the program from the dropdown list.

Publish/ Documentation

Select this button to publish the API specification to the MDRest4i Portal/Documenter.


Figure 9: Publish to documenter

Select the Environment from the dropdown list and click

If an older version of the document is already published on the documenter, you get an error message

If we check the "Force Overwrite" checkbox, and select then the copy in MDRest4i Portal/Documenter is over-written.

Swagger Editor

The Swagger Editor allows you to define and document RESTful APIs using the Swagger Specification.

We created the Swagger definition using the MDREST4i-SDK-Console Web GUI. Any changes made using the editor would be reflected in the MDREST4i-SDK-Console Web GUI and vice-versa.


Figure 10: Swagger Editor

Swagger UI

Test the Generated Service

In the UI section on the right, scroll down until the server and “GET” button (or whichever method you have cerated) appears. Click on the “GET” Button to expand it.


Get Button for testing


|*** Get Button expanded ***

Now scroll down to the “Parameters” section

Scroll down to the “Server response” section.

and click the button.


Figure 13: Parameters Section expanded

Enter the value of the parameters as necessary, and select the "execute" button. This sends a request to the generated Provider


Parameters Section expanded

Scroll down to the “Server response” section. The response body can be seen as JSON in this window.