How to pass long list from app to REST API to retrieve external data and save in DB?
Application Type
Traditional Web
Service Studio Version
11.10.2 (Build 36428)

Hello All,

I would like to know is there possible/any way of sending a list with quite a lot of country code (e.g. US for United States) as parameter to REST API and subsequently it will be used by external part to receive/retrieve data and send back to our application?

Rank: #719

Hi Junior, 

The REST api being consumed should of method POST and the Receive In attribute should  set to Body. 

When consuming a REST api with List of Record Input, set the method to POST and write the corresponding request and response JSON. 

Hope this helps,


Rank: #19

Hi J u n i o r,

Just to be clear here, in order to support this, the REST API method you are consuming needs to support it - it's the provider that defines the available functionality, not the consumer.

If the provider does support receiving a list of country codes for that method, then most likely it will be somewhat similar to @Marco Mateo's suggestion above, but you need to check the REST method documentation from your REST API provider.

Hope this helps!