Skip to main content
Question

Get method return a single object as a respnce

  • November 15, 2022
  • 1 reply
  • 118 views

HI, 
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. 
 

Did this topic help you find an answer to your question?
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

Forum|alt.badge.img+9
  • Zapier Staff
  • 238 replies
  • November 15, 2022

Hey @peter123 👋

If you’ve created a search action where you have configured the GET request, that will only return one object:
https://platform.zapier.com/docs/faq#what-response-type-does-zapier-expect - 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?