Forum Discussion
1 Reply
- cike9 years agoChampion
Hi ryanplant-au,
the REST call you're using returns only one object per request which makes sense, because an e-mail adress can only be used once within your community.
To achieve your requirement you should think about using an endpoint to build a list of user profiles. Therefore you may implement a custom component where you store/create a list of e-mail adresses as your parameter. This parameter will be passed to your endpoint.
The endpoint itself iterates through the list of e-mail adresses and requests the REST API. Finally, you could condense all responses (the user profiles) to a single object (e.g. JSON) and return this object to your custom component.
Hopefully, this approach helps to fulfill your requirement.
Best regards,
Christian