Get method return a single object as a respnce

  • 15 November 2022
  • 1 reply

I'm integrating Zoho bookings with fiken API but I'm facing a problem
when I use the GET method on a fiken API  to fetch some data, it only returns a single object however when I use the same method in postman It returns a complete Array of data. 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 4
Badge +9

Hey @peter123 👋

If you’ve created a search action where you have configured the GET request, that will only return one object: - the default behaviour for a search is to return the single top result from the array. 

To instead return multiple results in array like you’re seeing in Postman, you can use the GET in a Create and not a Search.

Could you give that a try and let me know how it goes?