Ticket Attachment using private app | Community
Skip to main content

Ticket Attachment using private app

  • November 3, 2023
  • 0 replies
  • 0 views

Akshat11

Can i add a ticket attachment using my private app just like i add comment using zaf client

client.invoke('ticket.comment.appendText', testText)

Is there a property in ticket node that allows me to add a attachment to the ticket without sending an actual reply e.g. 

client.invoke('ticket.comment.addAttachment', [{contentUrl: "https://_subdomain_/attachments/token/TOKEN/?name=order_issue.pdf",contentType: 'application/pdf',

filename: 'order_issue.pdf',
token: ""
}]