Page 1 of 1

Mapping Response To Create List

Posted: Mon Jan 18, 2016 8:04 am
by Robert Larsen

I seem to be having trouble mapping a rest service response to create a list. I have mapped the response to a List Component and when I invoke the service, it shows the text on the label, but instead of populating the list with multiple items it is only posting the first response and not creating a list, their are multiple id's that are being returned in the json response but only listing the first one. Image Imageinline.png?1453104280[/img] [/url] Image


Mapping Response To Create List

Posted: Mon Jan 18, 2016 9:24 am
by Serhii Kulibaba

Hello Robert,

I can see array "items" in your mapping. Does it invole to the result?


Mapping Response To Create List

Posted: Mon Jan 18, 2016 9:47 am
by Robert Larsen

I'm not quite sure what you mean.


Mapping Response To Create List

Posted: Mon Jan 18, 2016 11:41 am
by Serhii Kulibaba

I can't see the full structure of your data, but your data structure has field "items": http://prntscr.com/9rlrsx so I gues it can contain array of item which you need. If so - you have to add mapping from this field to the listitem. If not - please send us full structure of the response and sample JSON of the service response with more than one video