Welcome to Portal

?Unknown\pull-down

Welcome to Zoho Cares

Bienvenido a Soporte de Zoho

Search our knowledge base, ask the community or submit a request.

Good day,

i would like to search our entire portal for a task using the API.


We have over 20k tasks so I dont to search for all tasks and then do a for each as it would take way to long and also would need to go over the limit of 200 records per query.

So from my understating we can use this API 
GET  /restapi/portal/[PORTALID]/search

But for some reason the doc on how to build the search is not present and tried a few thing and did not manage to get it to work. Always geting missing: {"error":{"code":6891,"message":"Given URL is wrong"}}

I also dont want to search in a single project. 

So what I would like is be bale to search using the task prefix ID as mention here:
indexintIndex for search.
rangeintRange for search.
search_termStringThe search term can be name, prefix ID, description. Example: ZMA-T14
moduleStringModule name is tasks.

If any one know how to form that query I would like to know.

Thanks

1 user has this question.
4 Replies
Reply
  • 22 days ago

Good day, Frederick! 

Please follow the attached sample code to search for entities across the portal. For further clarification, share your code with us via email to support@zohoprojects.com

Untitled.rb248 Bytes

Thanks a bunch everything is perfectly working now :). 



Would it be possible at some point to review the doc for the
projects API to be more in line with other products? 



I find it a bit barebone compared to the other. Been a few situations
whereas a non dev was missing just a little nudge as the documentation was not
100% clear.


  • 22 days ago

You're most welcome, Frederick! We'll pass your feedback along to the appropriate team. 

  • 2 days ago

Hello, Welcome to the community.

Reply to Frederick DicaireA
/* */
  • 12
  • Insert
  • Plain text
Add Comment
(Up to 20 MB )