最近の検索


最近の検索はありません

Search organization with custom field key "type"



投稿日時:2022年3月25日

Hello,

We have a custom organization field with field key "type".

I try to search organizations with text in this field, but the url is like so :

https://xxx.zendesk.com/api/v2/search.json?query=type:organization type:MQL

And the repetition of "type" is not helping i guess, it gives me all organizations i have instead of just organization with this type...

How can i do ?

Thanks for the help.

Pauline.


0

1

1件のコメント

image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hi Pauline,
 
Thanks for reaching out!
 
"type" is a reserved filter associated with the search functionality so using that word as a custom field key is not going to work correctly for the purposes of search, unfortunately. I would suggest recreating the custom field with an alternative field key; something like org_type as the field key and you could still have the field name as whatever you prefer.
 
Let me know if you have any questions!
 
Tipene

0


サインインしてコメントを残してください。

お探しのものが見つかりませんか?

新規投稿