POST api/Attachment/Upload?ticketId={ticketId}&replyId={replyId}
Uploads an attachment for ticket or reply
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
ticketId | Id of the ticket to attach file(s) |
Define this parameter in the request URI. |
replyId | Id of the reply if you want attach to ticket reply or 0 for ticket body |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "errors": [], "is_valid": true }
application/xml, text/xml
Sample:
<result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api"> <errors /> <is_valid>true</is_valid> </result>