Tender REST API Queue Size & Historical Statistics
I'm working on building an internal dashboard that partially displays our Tender stats. This has brought a few issues to the surface, but firstly, it would be great to have the queue API call to return the size of the queue or category, so we can show progress, like how many sales or billing questions are answered in a day.
It would also be awesome to have an API for the historical statistics as shown in the stats page for our Tender.
Thanks!
Discussions are closed to public comments.
If you need help with Tender please
start a new discussion.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

1 Posted by Julien on 25 Jun, 2013 09:42 PM
Hi Tom,
The queues API already returns counts for new, open, assigned and closed discussions. We've thought about adding a reporting API a few times, but looking at our current development schedule, I doubt this is something we will implement in the near future.
I can look into adding the count information to the category API though, if that helps.
Let me know what you think.
2 Posted by Tom MacWright on 26 Jun, 2013 02:05 PM
Would it be possible to expose a user's total posts, and so on in the API call for that user's information? I'm trying to build a leaderboard and currently it doesn't seem feasible to easily show, for instance, something akin to the 'staff performance' breakdown in the Reports UI, but via the API.
Thanks,
Tom
3 Posted by Julien on 26 Jun, 2013 04:58 PM
Hi Tom,
I merged this discussion with your previous discussion, as they are really about the same problem. I'll look into adding more information to the user API call as well. I'll get back to you when I have an update.
4 Posted by Julien on 27 Jun, 2013 10:23 PM
Hi Tom,
I updated the API. Categories now return counts for open, assigned and resolved discussions, and users return comments and discussions count. I've updated the KB as well.
Let me know how it goes.
5 Posted by Tom MacWright on 01 Jul, 2013 12:57 AM
Thanks! Works for me.
Courtenay closed this discussion on 01 Jul, 2013 07:58 AM.