Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

Search organization with custom field key "type"



Gepostet 25. März 2022

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 Kommentar

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


Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Sie finden nicht, wonach Sie suchen?

Neuer Post