Question

Get method return a single object as a respnce

  • 15 November 2022
  • 1 reply
  • 19 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. 
 


1 reply

Userlevel 4
Badge +8

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?

Reply