On Thu, Oct 13, 2011 at 11:26:20PM +0000, Srikumar Nair wrote:
> I see that the REST APIs has a search method to do search for tickets based 
> on some conditions (Request: 
> /REST/1.0/search/ticket?query=<query>&orderby=<sort-order>&format=<format>).
> 
> Is there an equivalent one for the Queue object? When I tried it I got error…
> 
> Following is query string:
> 
> /REST/1.0/search/queue?query= Name = 'My Special Queue'
> 
> And the response is ==> (RT/4.0.2 500 Server Error. Unsupported object type)
> 
> Is there a way to query/search non ticket objects using conditions?

RT's REST API is intended mostly for working with tickets (the query
is actually TicketSQL as available in the normal Query Builder UI).

If you need to work with and modify other RT objects, you'll want to
use RT's perl API.

-kevin

Attachment: pgpjh060BPwFW.pgp
Description: PGP signature

--------
RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA — October 18 & 19, 2011
*  Washington DC, USA — October 31 & November 1, 2011
*  Barcelona, Spain — November 28 & 29, 2011

Reply via email to