<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Dmitri. Unfortunately, I have to use PHP.<br>
<br>
Dmitri Tikhonov wrote:
<blockquote cite="mid:981888.14724.qm@web57007.mail.re3.yahoo.com"
 type="cite">
  <pre wrap="">If you are using Perl, there is a library available: <a class="moz-txt-link-freetext" href="http://search.cpan.org/dist/RT-Client-REST/">http://search.cpan.org/dist/RT-Client-REST/</a>

  - Dmitri.



----- Original Message ----
  </pre>
  <blockquote type="cite">
    <pre wrap="">From: Mike Melson <a class="moz-txt-link-rfc2396E" href="mailto:Mike.Melson@Caringo.com">&lt;Mike.Melson@Caringo.com&gt;</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:rt-devel@lists.bestpractical.com">rt-devel@lists.bestpractical.com</a>
Sent: Sunday, November 30, 2008 9:48:07 PM
Subject: [Rt-devel] REST Interface for Creating Ticket?

Hi -
I would like to integrate a customer self-service extranet with RT using 
the REST interface. Customers need to be able to submit a new ticket &amp; 
view their existing tickets.

I'm able to query a user's tickets fine. However, I can't seem to create 
a ticket using the REST interface (yes, I know I can send it via email 
or use CLI ... but I would like to keep this all w/in REST if possible).

Here is the syntax I've tried (along with several variations): 
$RTBASE/REST/1.0/ticket/new?user=xxxx&amp;pass=xxxx&amp;queue=General&amp;text=text&amp;subject=Subject 



I get the following response:

RT/3.6.5 200 Ok

# Required: id, Queue

id: ticket/new
Queue: General
Requestor: mmelson
Subject: Cc:
AdminCc:
Owner: Status: new
Priority: 0
InitialPriority: 0
FinalPriority: 0
TimeEstimated: 0
Starts: 2008-11-30 22:27:25
Due: 2008-11-30 22:27:25
Text:
Any suggestions?
Thanks,
M2



_______________________________________________
List info: <a class="moz-txt-link-freetext" href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->


      
_______________________________________________
List info: <a class="moz-txt-link-freetext" href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel</a>
  </pre>
</blockquote>
</body>
</html>