[email protected] wrote:
> I want to call a rt page to pull up all tickets that have the account 
> number = to xxxx
> I have created a search and saved it but it has the account number as part 
> of the search.
> that is to say, I put 16000 as the hard-coded account number.
> Where should I look to figure out how to accomplish this.
> **Note: I am calling the page from another system which is not rt.

REST interface to the rescue.  See http://wiki.bestpractical.com/view/REST

The URI you want is

/REST/1.0/search/ticket/?query=<query>&orderby=<sort-order>&format=<format>

Replace <query> with your query from the search builder (and parameterize
your account number).


-- 
-- ============================
   Tom Lahti
   BIT Statement LLC

   (425)251-0833 x 117
   http://www.bitstatement.net/
-- ============================
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [email protected]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to