[rt-users] REST - Edit Ticket
Uli Staerk
Uli.Staerk at globalways.net
Fri Jun 8 06:08:06 EDT 2007
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
Date: Fri, 08 Jun 2007 10:04:24 GMT
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?
More information about the rt-users
mailing list