Update Note
All API requests should contain authorization headers.
Request
PATCH /tickets/{ticketId}/notes/{noteId}
Query Parameters
Name
Type
Required
Comments
ticketId
integer
yes
Id of ticket note added in
noteId
integer
yes
Id of note you want to update
Request Body
{
"attachments": [
{
"isContentPart": null,
"name": "filename.png",
"url": "https://your.attachment.url/filename.png"
}
],
"htmlMessage": null,
"message": "Updated note text"
}
Body of request should contain the following model serialized to JSON.
Field
Type
Comments
htmlMessage
string
Note html content
message
string
Note content
{
"data": {
"id": 297991,
"message": "Updated note text",
"htmlMessage": null,
"attachments": [],
"author": {
"id": "0da5a9e8-90ef-403f-873c-e20e4d298558",
"name": "Staff name",
"image": "",
"email": "[email protected]",
"status": "team",
"isBot": false
},
"mentionedUsers": [],
"creationTime": "2020-03-05T18:34:51.2599354+00:00"
},
"errorCode": -1,
"errorText": null
}
Data
field will contain updated Note model.
Last updated
Was this helpful?