<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi rt-users,</p>
<p><br>
</p>
<p>I'm currently working on a web app to pull statistics from RT. One of the stats I'd like to show for each ticket is the number of emails received. </p>
<p>The way that I've implemented it now is essentially go to /REST/1.0/ticket/nn/history/ and then count up the number of emails. But I call this for every single ticket. So it's horribly inefficient for larger number of tickets. </p>
<p>I was wondering if there was a way of getting all the transactions in one API call instead of one for every ticket I iterate through.</p>
<p><br>
</p>
<p>Thanks, </p>
<p>Anthony</p>
</div>
</body>
</html>