create support ticket comment
POST/org/:orgId/support/ticket/:ticketId/comment
create support ticket comment
Request
Path Parameters
orgId stringrequired
Organization ID
ticketId stringrequired
Ticket ID
- application/json
Body
required
Ticket create request
Array [
]
comment
object[]
attachment
object
date string
id string
mimetype string
size integer
thumbnail_large string
thumbnail_medium string
thumbnail_small string
title string
url string
frame
object
id string
url string
image
object
extension string
id string
name string
thumbnail_large string
thumbnail_medium string
thumbnail_small string
title string
type string
url string
text string
type string
comment_text string
When creating a new comment, only CommentText is required.
creator
object
email string
id string
The Suger user ID.
isSugerEmployee boolean
Whether the user is a Suger employee.
profilePicture string
username string
date string
id string
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
comment
object[]
attachment
object
date string
id string
mimetype string
size integer
thumbnail_large string
thumbnail_medium string
thumbnail_small string
title string
url string
frame
object
id string
url string
image
object
extension string
id string
name string
thumbnail_large string
thumbnail_medium string
thumbnail_small string
title string
type string
url string
text string
type string
comment_text string
When creating a new comment, only CommentText is required.
creator
object
email string
id string
The Suger user ID.
isSugerEmployee boolean
Whether the user is a Suger employee.
profilePicture string
username string
date string
id string
{
"comment": [
{
"attachment": {
"date": "string",
"id": "string",
"mimetype": "string",
"size": 0,
"thumbnail_large": "string",
"thumbnail_medium": "string",
"thumbnail_small": "string",
"title": "string",
"url": "string"
},
"frame": {
"id": "string",
"url": "string"
},
"image": {
"extension": "string",
"id": "string",
"name": "string",
"thumbnail_large": "string",
"thumbnail_medium": "string",
"thumbnail_small": "string",
"title": "string",
"type": "string",
"url": "string"
},
"text": "string",
"type": "string"
}
],
"comment_text": "string",
"creator": {
"email": "string",
"id": "string",
"isSugerEmployee": true,
"profilePicture": "string",
"username": "string"
},
"date": "string",
"id": "string"
}
Bad request error
- application/json
- Schema
Schema
string
Internal server error
- application/json
- Schema
Schema
string
Loading...