Search organization with custom field key "type"
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.
-
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
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
1 Kommentare