Response Rest service with List

Hi All, I need a suggestion for retrieving list data by using rest service without passing any parameter. All list type examples are working after entering any search parameter and I want help in without entering any parameter. For example:- Using below mentioned link I want to retrieve country names.  
4 answers

If you have an object containing the data, create a published rest service.

Add a resource and for this reource add an operation.

In the operation select the microflow returning the data. THis will default to a string return value so change this to the list of objects coantinaing the data. Make sure to retrieve the data in the microflow and map the result of the retrieve to the endpoint.

Double click the operation an you'll see that the response has been changed to a list of your objects and a mapping is required. Press the select button to create a new mapping.

In the mapping select the option message defintion and create the message definition for your object. In the mapping make sure to mapp all relevant fields.

Now you have a GET operation for your published REST service without any parameters.


Thanks Erwin for your revert. Actually, I am talking about consuming web service and might be you gave an example of publish web service. Can you help me with in consuming rest service without any parameter. 


You are in modeler 7.17 so you can create your published rest-service with drag-and-drop. Here is how:

- in your modeler in the 'Project Explorer'-view right-click on your module name and choose 'Add other' and 'Published REST Service'. It will add a REST-service

- in your modeler in the 'connector'-view drag any entity to your REST-service.

- Run


ah, you are consuming the service. Preventing having to enter a parameter is done by not adding a parameter in the location.

See for further details the perfect click-by-click manual:

See → Menu-item “RestDemo Countries” for the result of retrieving the data from


I am talking about consuming web service and might be you gave an example of publish web service. CCleaner Happy Wheels VLC