On Fri, Oct 14, 2011 at 08:45:50PM +0000, Srikumar Nair wrote:
>    I am trying to add an attachment as part of the ticket creation with REST 
> (in 4.0.2)
>    Following is my input:
>    Requestor: johnt
>    Subject: 'test ticket'
>    Queue: 'General'
>    Attachment: /var/log/test.pdf
>    Ticket gets created but no attachment  and I get the error
>    RT/4.0.2 409 Syntax Error
>    # Ticket 6 created.
>    # attachment: Unknown field.
>    What is the input to create ticket with attachments? Does anyone know?

The REST interface only supports commenting or corresponding with
attachments, not creating.

-kevin

Attachment: pgp6sRtBWJYTu.pgp
Description: PGP signature

--------
RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA — October 18 & 19, 2011
*  Washington DC, USA — October 31 & November 1, 2011
*  Barcelona, Spain — November 28 & 29, 2011

Reply via email to