S
S
Socialboards
Search
K
Comment on page

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"
}
],
"message": "Update note text"
}
Body of request should contain the following model serialized to JSON.
Field
Type
Comments
attachments
array of Base Attachment models
Reply attachments
message
string
Note content
{
"data": {
"id": 2980459,
"message": "Updated note text",
"attachments": [],
"author": {
"id": "0da5a9e8-90ef-403f-873c-e20e4d298558",
"name": "Staff name",
"image": "",
"email": "[email protected]",
"status": "team",
"isBot": false
},
"mentionedUsers": [],
"creationTime": "2020-03-05T19:41:17.7780842+00:00"
},
"errorCode": -1,
"errorText": null
}
Data field will contain updated note model.