Re: [rt-users] REST add/update a user

2009-03-02 Thread Tom Lahti
> 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 >

Re: [rt-users] REST add/update a user

2009-03-02 Thread Tom Lahti
>> Well, I can tell you off the top of my head that what you POST is XML, but >> the contents of that XML are not what you would think. > > Nope, it's a regular form-encoded post. There's no XML anywhere. Ah, I was right the first time. It's been about 2 weeks since I was at the HTTP level wit

Re: [rt-users] REST add/update a user

2009-03-02 Thread Jesse Vincent
On Fri 27.Feb'09 at 15:31:58 -0800, Tom Lahti wrote: > > 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, a

Re: [rt-users] REST add/update a user

2009-02-27 Thread Gary Greene
> -Original Message- > From: Tom Lahti [mailto:t...@bitstatement.net] > Sent: Friday, February 27, 2009 3:32 PM > To: Gary Greene > Cc: Joel Schuweiler; rt-users@lists.bestpractical.com > Subject: Re: [rt-users] REST add/update a user > > > Can we please get so

Re: [rt-users] REST add/update a user

2009-02-27 Thread Tom Lahti
> 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 >

Re: [rt-users] REST add/update a user

2009-02-27 Thread Gary Greene
> -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

2009-02-27 Thread Tom Lahti
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 yo

Re: [rt-users] REST add/update a user

2009-02-27 Thread Joel Schuweiler
@lists.bestpractical.com Subject: Re: [rt-users] REST add/update a user Joel Schuweiler wrote: > Anyone have example code, or know where I can find any, for using rest to > add/update/delete users, including their passwords. > > Thanks, > Joel It's just a form, with the id: field set t

Re: [rt-users] REST add/update a user

2009-02-27 Thread Tom Lahti
Joel Schuweiler wrote: > Anyone have example code, or know where I can find any, for using rest to > add/update/delete users, including their passwords. > > Thanks, > Joel It's just a form, with the id: field set to "user/" instead of "ticket/", and use the "edit" REST method. To create a user,

[rt-users] REST add/update a user

2009-02-27 Thread Joel Schuweiler
Anyone have example code, or know where I can find any, for using rest to add/update/delete users, including their passwords. Thanks, Joel ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.co