> -----Original Message-----
> From: rt-users-boun...@lists.bestpractical.com 
> [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf 
> Of Tom Lahti
> Sent: Friday, February 27, 2009 12:56 PM
> To: Joel Schuweiler
> Cc: rt-users@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
 
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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

Reply via email to