<div dir="ltr"><div>Hi,</div><div><br></div>The easiest way is to use bin/rt tool and enable debug output in it, it can print all requests and responses.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 11, 2013 at 12:43 AM, Triplett, Jeff <span dir="ltr"><<a href="mailto:triplejl@miamioh.edu" target="_blank">triplejl@miamioh.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">We are attempting to add RT into our Account Management System. We would like to use the REST API to add new and update user information. I have looked on <a href="http://requesttracker.wikia.com/wiki/REST" style="font-family:arial" target="_blank">http://requesttracker.wikia.com/wiki/REST</a> but the documentation for User Create is a little sparse. </div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">What is the format that the REST API is expecting the User Create POST information in? </div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I know that the REST documentation states "<span style="font-size:13px;color:rgb(58,58,58);font-family:Helvetica,Arial,sans-serif;line-height:21px;background-color:rgb(235,235,235)"> variable named "</span><code style="font-size:13px;border:0px;margin:0px;padding:0px;vertical-align:baseline;color:rgb(58,58,58);line-height:21px;background-color:rgb(235,235,235)">content</code><span style="font-size:13px;color:rgb(58,58,58);font-family:Helvetica,Arial,sans-serif;line-height:21px;background-color:rgb(235,235,235)">", containing "</span><code style="font-size:13px;border:0px;margin:0px;padding:0px;vertical-align:baseline;color:rgb(58,58,58);line-height:21px;background-color:rgb(235,235,235)">key: value</code><span style="font-size:13px;color:rgb(58,58,58);font-family:Helvetica,Arial,sans-serif;line-height:21px;background-color:rgb(235,235,235)">" line by line, like the response to /user/<user-id>" </span></div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">If I could get an example that would be very helpful. </div><div class="gmail_default" style="font-family:verdana,sans-serif">
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I am using CURL to test. We are running RT 4.0.17 with ExternalAuth Plugin. </div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br>
<div dir="ltr"><div><font face="verdana, sans-serif">Thanks,</font></div>
<div><font face="verdana, sans-serif">Jeff Triplett</font></div><div><font face="verdana, sans-serif">Systems Administrator</font></div><div><font face="verdana, sans-serif">Miami University, Oxford, Ohio</font></div><div>
<font face="verdana, sans-serif">College of Engineering & Computing</font></div><div><font face="verdana, sans-serif">109B Benton Hall</font></div><div><font face="verdana, sans-serif">513-529-0791</font></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards, Ruslan.
</div>