创建任务评论
POST
https://open.teambition.com/api/task/comment/create该接口用于创建任务评论。
请求参数
Header 参数
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
creatorId
string
创建者的用户 ID
taskId
string
任务 ID
comment
string
备注信息
示例
{
"creatorId": "5ac4a9089f8f22000108241b",
"taskId": "5f1aa4134099eb072c0b201f",
"comment": "xxxx"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
返回码,200 表示成功
errorMessage
string
必需
调用失败时的错误信息
result
object
必需
comment
string
评论
commentId
string
评论 ID
created
string
项目创建时间
creatorId
string
创建者 ID
updated
string
最近一次更新时间
示例
{
"code": 200,
"errorMessage": "",
"result": {
"comment": "xxxx",
"commentId": "5f1e798190765b0a5619190a",
"created": "2020-07-27T06:51:45.873Z",
"creatorId": "5ac4a9089f8f22000108241b",
"updated": "2020-07-27T06:51:45.873Z"
}
}
最后修改时间: 3 年前