I’m successful in using the API to create tickets.
I have a need now to add attachments with some tickets. I’ve reviewed the docs and see that it can be done with a PUT. Yet, the docs are vague after that. I’m not sure what the PUT JSON would look like because I do not see any examples.
I thought that I could create a ticket manually with an attachment and then GET it to look at the JSON. But that doesn’t provide much help.
I can mouseover the attachment in the web gui to see this - https://zammad/api/v1/ticket_attachment/ticket#/142003/216604?disposition=attachment
But I can’t really understand how I’d PUT a ticket with an attachment.
Does anyone have any examples of the JSON to create a ticket with attachment?