Hello,
Thanks for your answer. After trying and trying, I figure that the object returned was an array of objects.
So depending on the scenario, I
test if the returned object is an instance of array or something else and then I execute the proper action.
Best regards.