Transforming ids to object inside a query #12614
Unanswered
dbeaulieu007
asked this question in
Help
Replies: 1 comment
-
Hey @dbeaulieu007 As this is a REST API, you will need to make the two API calls regardless. With that in mind, you have two options - match the data in the Design section with nested data providers, or match the data in an Automation. For best performance I recommend the automation approach: So your automation would look roughly like so:
With that said, ideally your API would allow you to get the teams for a given client, or the clients of a given team. Something like: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my data model, I have clients and teams. Each client is assigned to a Team.
The return of the get Teams follow a similar syntax:
I would like to transform the Team in the client to include the Team info as follow:
Can this be done without changing the back-end rest endpoints?
Beta Was this translation helpful? Give feedback.
All reactions