Forum Discussion
Leave the “$” in the mapping root.
If I did it then I am not getting expected response
I don’t need group field in the response
- bojanvelevski3 years agoValued Contributor
Map $group in the expression for $content
- swatifunde3 years agoContributor
I got it now, there is still square bracket in the response . is it possible to remove it?or due to multiple objects it will be remain there.
- bojanvelevski3 years agoValued Contributor
If you check above, we did discuss the square brackets. But that was when I thought you are sending only one object in the response. If you’re sending multiple objects, you have to wrap them in an array, and send that array as one object (which you did with the group object name above, but you said you don’t need the response to be like that), or as a list of objects.
- swatifunde3 years agoContributor
If we want to add parameter(Project id) in the request URL, to fetch the data for a particular project ID then it would be single response so in that case no need to add Group by N snap. right?
I tried to pass Project ID as parameter but somehow it is not taking any affect on end API.
- bojanvelevski3 years agoValued Contributor
Yes, your statement is correct.
As for the other part, the problem must be in the logic where you included that parameter in the pipeline. Whether is in a Filter snap, in the Oracle snap itself, etc.
Related Content
- 3 years ago
- 3 months ago
- 6 months ago