Dear Zendesk Experts,
Thanks again for previous advice, and I hope you may kindly help me again.
My latest queries are:
a) Wildcards don't seem to work in API calls.
Neither of the following bring back any users named David. (Though if I add the 'd' to the end, both work fine.)
/api/v2/search.json?query=type:user%20Davi*&sort_by=name&sort_order=asc
/api/v2/search/export.json?query=%22*Davi*%22&sort_by=name&sort_order=asc&page%5Bsize%5D=1000&filter%5Btype%5D=user
b) API results seem to randomly bring back deleted records.
I am using API calls similar to those in part (a). I then display the results in a table, something like this:
{{#each users}}
<tr>
<td>{{name}}</td>
<td>{{role}}</td>
</tr>
{{/each}}
If I click the search button on my app interface, then it calls the API and brings back the users. But sometimes it includes users that have been deleted and have shown on previous searches. It can give old results even after it has shown correct results.
I wonder if the results are being cached somewhere, and how I may clear the cache so that the users are always current.
Help appreciated.
Thanks,
SGL