[rt-users] search display question
Tom Lahti
toml at bitstatement.net
Mon Apr 20 17:13:11 EDT 2009
prescott at wcoil.com 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/
-- ============================
More information about the rt-users
mailing list