Create Reply
Last updated
Last updated
all API requests should contain authorization headers.
Name | Type | Required | Comments |
---|---|---|---|
Body of request should contain the following model serialized to JSON.
Data
field will contain Reply model.
Field | Type | Comments |
---|---|---|
ticketId
integer
yes
Id of ticket you want to create reply in
attachments
array of Base Attachment models
Reply attachments
author
Reply Creator model
Reply creator info
isDraft
boolean
If true
draft of reply will be created instead.
isHtml
boolean
If true
indicates that message content should be processed as HTML with tags, classes and attributes
isTicketNeededToBeCompleted
boolean
If true
ticket status will be set to completed
after a reply creation
message
string
Reply content
parentReplyId
nullable integer
If null
reply of the 1st level will be created. Should contain reply Id of parent if subreply needs to be created
suppressTicketStatusAutoupdate
boolean
if true
ticket status won't be updated automatically after adding a reply