Update Note
All API requests should contain authorization headers.

Request

1
PATCH /tickets/{ticketId}/notes/{noteId}
Copied!

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

1
{
2
"attachments": [{
3
"isContentPart": null,
4
"name": "filename.png",
5
"url": "https://your.attachment.url/filename.png"
6
}
7
],
8
"message": "Update note text"
9
}
10
Copied!
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
1
{
2
"data": {
3
"id": 2980459,
4
"message": "Updated note text",
5
"attachments": [],
6
"author": {
7
"id": "0da5a9e8-90ef-403f-873c-e20e4d298558",
8
"name": "Staff name",
9
"image": "",
10
"email": "[email protected]",
11
"status": "team",
12
"isBot": false
13
},
14
"mentionedUsers": [],
15
"creationTime": "2020-03-05T19:41:17.7780842+00:00"
16
},
17
"errorCode": -1,
18
"errorText": null
19
}
Copied!
Data field will contain updated note model.
Last modified 1yr ago
Copy link