AW: REST - Edit Ticket

Nobody an idea?

Hello,

at the moment I’m trying to modify an existing ticket by the Rest
Interface. But it doesn’t work as expected. How must the request look
like, that I can modify a Ticket?

The following does NOT work:

2007-06-08 12:01:32.839:
2007-06-08 12:01:32.839: curlDoRequest: Method: POST
2007-06-08 12:01:32.839: curlDoRequest:
https://xxxx/rt/REST/1.0/ticket/edit
2007-06-08 12:01:32.839: curlDoRequest: Port: 80
2007-06-08 12:01:32.839: curlDoRequest: Header: Cookie: RT_SID_xxx=xxx;
2007-06-08 12:01:32.839: curlDoRequest: Data: # create ticket request
id: ticket/16579
Status: new
2007-06-08 12:01:32.895: Request successful!
2007-06-08 12:01:32.895: --HEADER
FOLLOWING-------------------------------
2007-06-08 12:01:32.895: HTTP/1.1 200 OK
Server: Apache
Transfer-Encoding: chunked
Content-Type: text/plain; charset=utf-8

2007-06-08 12:01:32.895: --BODY
FOLLOWING---------------------------------
2007-06-08 12:01:32.895: RT/3.4.5 400 Bad Request

No objects specified.

2007-06-08 12:01:32.895:

And how can I create tickets using the REST Interface?
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

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