Page 1 of 1

Data Array in Rest Response Not Mapping Correctly

Posted: Sun Nov 08, 2015 5:35 am
by Alex B

Not sure how to describe this problem so I've attached screenshots of everything.

To summarize:

I have a database that I am using an API url to access. The GET request in the REST service works perfectly and retrieves all my data in the response.

The data is in an array and I've mapped the response with the correct label in the app. The first item in the array is displayed in the app perfectly when I go to view it in the test environment. However, when it comes to displaying rest of the data in the array - rather than showing the second, third, fourth item and so on in the array, it duplicates the first item which I don't want. I am not sure how to fix that. I'm not sure if its an issue with the mapping or the data in the REST response.

If anyone has any ideas or suggestions, I'd greatly appreciate it. Screenshots below.

Image

Image

Image

Image

Image


Data Array in Rest Response Not Mapping Correctly

Posted: Mon Nov 09, 2015 9:47 am
by Serhii Kulibaba

Hello Alex,

Please remove an arrow and add a new one as it is shown here: http://prntscr.com/90q5d3


Data Array in Rest Response Not Mapping Correctly

Posted: Mon Nov 09, 2015 4:26 pm
by Alex B

Oh, I feel like an idiot now xD Thank you so much! That fixed everything!