[rt-users] REST add/update a user

Gary Greene Gary.Greene at minervanetworks.com
Fri Feb 27 17:40:47 EST 2009


> -----Original Message-----
> From: rt-users-bounces at lists.bestpractical.com 
> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf 
> Of Tom Lahti
> Sent: Friday, February 27, 2009 12:56 PM
> To: Joel Schuweiler
> Cc: rt-users at lists.bestpractical.com
> Subject: Re: [rt-users] REST add/update a user
> 
> Joel Schuweiler wrote:
> > Hrm... I thought xml was standard when doing rest, is this 
> not the case?
> > Is there a method to get rt to handle xml for bother get/post ?
> 
> Nope.  RT uses RFC822 formatted forms, not XML.  You can 
> write a library that transforms your XML into the forms and 
> vice versa, if you want to code to XML for some reason.
> 
> But if you are coding in perl, just use RT::Client::REST from 
> CPAN.  If you are coding in ruby, wait a week or two and I'll 
> be open sourcing a gem.  If you are coding in something else 
> -- write your own. ;)

Can we please get some example code for this up somewhere so those of us that have automated employee fulfillment workflows can integrate this fairly easily? At the moment, I've a JSP utility that is used to create new users, and I'd like pre-instantiate the RT user for them (While we do use the ExternalAuth LDAP integration, the user still needs to login once for IT to add them to the proper queue...)


--
Gary L. Greene, Jr.
IT Operations
Minerva Networks, Inc.
Tel:  (408) 240-1239
Cell: (650) 704-6633
 



More information about the rt-users mailing list