After you have seen this HowTo video and read this article you will know how a collection of objects is fetched from JSON responses.
Go to Tools on the builder menu left and click on 'Webservices'.
In this howto we are using an existing web service.
Create new endpoint to the web service.
Define all endpoint settings as Name, Http method, Path, and its Custom Model.
In this howto we are using an existing custom model definition. Select the custom model and the select 'list of objects' as a return.
Save the endpoint.
Go to Actions on the builder menu left.
Create a new action to fetch the collection and to assign to your data model.
Create a new Http request action event.
Select the web service and endpoint to complete the request.
Give the requested object a variable name 'As'. Please remind that it is a collection of objects not a single object.
Below the Http event we have to loop through the collection of objects.
Select the collection in the loop event.
Give every single object in the collection a variable name 'As'.
Insert in the loop a new create event. Select the right model from the data model.
Assign all the properties of the model to the attributes from the custom model.
Give every new comment a variable name 'As'.
Run the action manually.
Ignore the time out warning. In this case we fetched over 500 objects. This warning is a normal procedure.
Go to your back office and to check if all objects are fetched and assigned.