Comments (9)
@maxkwallace The delay does, and can be anywhere between 1-10mins due to the way our search indexing currently works. We have a project to rebuild our indexer pipeline, however it's a big project so it won't drop for a while. What's your use case, maybe there is a workaround...
from zendesk_api_client_rb.
I've raised the issue with the search team so hopefully it can be mentioned on that page @maxkwallace.
from zendesk_api_client_rb.
I've also tweeted about this issue: https://twitter.com/zendeskdevteam/status/311986195473260544
from zendesk_api_client_rb.
This is due to our search index having a bit of a delay. The delay varies, but after 10mins it's normally caught up.
Do you need to use search? The zendesk_ticket object will have the ticket ID after save. Then using the ticket ID will always result in the most up-to-date details. Eg.
found_ticket = ::ZendeskAPI::Ticket.find(ZENDESK_CLIENT, :id => zendesk_ticket.id)
from zendesk_api_client_rb.
This is a simplified example, but the two operations are usually separated by different background jobs in our system.
I'm storing a cache at the moment of our internal id's and the zendesk ticket id's. Looking to the cache before trying to do the search. This should work for the most part - but I was just curious because I would have thought that searching by external-id's would have been fast.
from zendesk_api_client_rb.
@devarispbrown @steved555 Any plans for something like found_ticket = ZendeskAPI::Ticket.find(ZENDESK_CLIENT, :external_id => external_id)
from zendesk_api_client_rb.
Not at the moment, but I can add it to the dev backlog.
On Tue, Mar 19, 2013 at 8:17 PM, Jason Smale [email protected]:
@devarispbrown https://github.com/devarispbrown @steved555https://github.com/steved555Any plans for something like found_ticket
= ZendeskAPI::Ticket.find(ZENDESK_CLIENT, :external_id => external_id)—
Reply to this email directly or view it on GitHubhttps://github.com//issues/80#issuecomment-15156377
.
from zendesk_api_client_rb.
@jwswj does the 10 minute delay apply to searching Users?
from zendesk_api_client_rb.
@jwswj thanks for the reply! I can work around this using the existing API, but this delay should definitely definitely definitely be reflected in the docs (e.g. https://developer.zendesk.com/rest_api/docs/core/search). It's very frustrating to try to design around limitations like this when they're buried in GitHub issues.
from zendesk_api_client_rb.
Related Issues (20)
- Searching help center articles with this API? HOT 2
- How was it possible to break master CI merging a PR? HOT 2
- Remove duplicate user phone numbers / disconnect between application and API HOT 1
- Support Faraday 2.x HOT 9
- Adding multiple comments to a ticket will ignore the private flag and add all future messages as public. HOT 2
- Search api - how to stop using cache - to fetch real data every time HOT 1
- tickets.create! fails when description is blank HOT 1
- Accessing an end user organization requests HOT 1
- problem creating organizations via API HOT 4
- Create or Update Tickets HOT 1
- Add feature for additional API requests
- Intermittent SSL_connect returned=1 errno=0 state=error: sslv3 alert handshake failure errors HOT 6
- with 2fa (two factor authentication) unable to initialize zendesk client HOT 3
- is there a trick to running the specs? HOT 9
- Support for Attachment management endpoints HOT 3
- Support for idempotent requests HOT 1
- Exceptions due to unexpected Faraday::Multipart::CompositeReadIO instances HOT 12
- CloudQuery Source Plugin? HOT 2
- Add method for target failures
- Client does not have new Omnichannel/Agent Availability API HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zendesk_api_client_rb.