REST API - User Create Example

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 http://requesttracker.wikia.com/wiki/REST but the documentation
for User Create is a little sparse.

What is the format that the REST API is expecting the User Create POST
information in?

I know that the REST documentation states " variable named “content”,
containing “key: value” line by line, like the response to /user/"

If I could get an example that would be very helpful.

I am using CURL to test. We are running RT 4.0.17 with ExternalAuth
Plugin.

Thanks,
Jeff Triplett
Systems Administrator
Miami University, Oxford, Ohio
College of Engineering & Computing
109B Benton Hall
513-529-0791

Hi,

The easiest way is to use bin/rt tool and enable debug output in it, it can
print all requests and responses.On Wed, Sep 11, 2013 at 12:43 AM, Triplett, Jeff triplejl@miamioh.eduwrote:

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 http://requesttracker.wikia.com/wiki/REST but the documentation
for User Create is a little sparse.

What is the format that the REST API is expecting the User Create POST
information in?

I know that the REST documentation states " variable named “content”,
containing “key: value” line by line, like the response to
/user/"

If I could get an example that would be very helpful.

I am using CURL to test. We are running RT 4.0.17 with ExternalAuth
Plugin.


Thanks,
Jeff Triplett
Systems Administrator
Miami University, Oxford, Ohio
College of Engineering & Computing
109B Benton Hall
513-529-0791

Best regards, Ruslan.