Subbiah T
Posts: 0
Joined: Wed Aug 21, 2013 6:08 am

display data from rest api

i want to get data from rest api(json) and display into app .how i ll do that

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

display data from rest api

Hi,

The applications can access existing APIs via Rest Services. You can use them to integrate with back-end cloud services that support a RESTful API.

Find tutorials that help to start here: http://docs.appery.io/tutorials
Documentation: http://docs.appery.io/documentation/#...

Subbiah T
Posts: 0
Joined: Wed Aug 21, 2013 6:08 am

display data from rest api

i followed this doc and tutorial only .i mapped reponse value to components but is not showing any thing after run apps

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

display data from rest api

Could you please attach a screen shot of your mapping and service settings?

Subbiah T
Posts: 0
Joined: Wed Aug 21, 2013 6:08 am

display data from rest api

Image Image
Image

i attached rest api service, testing response and mapping screenshot

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

display data from rest api

You get an array as a response so you would need to create a Grid component and drag your Labels into its cells, then map an array to the Grid Component as it's shown in our tutorial: http://docs.appery.io/tutorials/build... ('Adding and binding the list service to the page' section).

Subbiah T
Posts: 0
Joined: Wed Aug 21, 2013 6:08 am

display data from rest api

Image

Hi Katya,

Thanks for your quick reply. But the problem is that since last two days I and my team working hard with no result. Still I am not getting the proper solution. If it is possible, can we have a skype chat ? Please reply, I am waiting hear from you.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

display data from rest api

Map an array to mobilelist_35 instead of mobilelistitem_36, then map task to mobilelistitem_36 Text field.

Subbiah T
Posts: 0
Joined: Wed Aug 21, 2013 6:08 am

display data from rest api

Image

i am not able to map wat u have described.its not taking map.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

display data from rest api

Yes, your results is not an array in Response description, but a nested structure. On the Test tab after the call click "Automatically Create Service Response".

Return to “Issues”