Update Note

All API requests should contain authorization headers.

Request

PATCH /tickets/{ticketId}/notes/{noteId}

Query Parameters

NameTypeRequiredComments

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.

FieldTypeComments

attachments

array of Base Attachment models

Reply attachments

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": "staffEmailLogin@domain.com",
			"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