更新工单详情
PUT
/open-apis/helpdesk/v1/tickets/{ticket_id}
自建应用
错误码
HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
400 | 154000 | Bad request, please check your request body | 请求不合法,请检查参数 |
403 | 154003 | Please check you have the correct access | 检查是否申请正确权限 |
404 | 154004 | Resource not found | 资源不存在,请检查ID值 |
500 | 155000 | Internal error | 内部错误,请联系我们 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://open.feishu.cn/open-apis/helpdesk/v1/tickets/6945345902185807891' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"status": 1,
"tag_names": [
[
"abc"
]
],
"comment": "good",
"customized_fields": [
{
"id": "123",
"value": "value",
"key_name": "key"
}
],
"ticket_type": 1,
"solved": 1,
"channel": 1
}'
响应示例响应示例
{
"code": 0,
"msg": "success",
"data": {}
}
请求参数
Path 参数
ticket_id
工单id
示例值:
6945345902185807891
Header 参数
Authorization
string
必需
默认值:
Bearer {{access_token}}
Content-Type
string
必需
默认值:
application/json; charset=utf-8
Body 参数application/json
返回响应
修改于 2023-02-02 06:23:49