获取工单详情
POST
https://qiyukf.com/openapi/v2/ticket/new/detail
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://qiyukf.com/openapi/v2/ticket/new/detail?appKey=&time=&checksum=' \
--header 'Content-Type: application/json' \
--data-raw '{
"ticketId":12345
}'
响应示例响应示例
{
"code": 200,
"data": {
"attachments": [
{
"name": "工单附件.xlsx",
"size": 9847,
"type": 0,
"url": "https://qiyukf.net/0426aba4f048f0577de5a69a3ae732c1"
}
],
"content": "这里记录的是工单的内容",
"createTime": 1631081162000,
"crmForeignId": "",
"crmId": "60d02bd9108bfa001d68c0fc",
"crmUserEmail": "18888888888@163.com",
"crmUserName": "张三1",
"crmUserPhone": "18888888888",
"custom": [
{
"fieldId": 45756,
"id": 2782984,
"name": "自定义字段name1",
"value": "自定义字段1内容"
},
{
"fieldId": 45919,
"id": 2782985,
"name": "自定义字段name2",
"value": "自定义字段2内容"
}
],
"follower": {
192054: "李四",
178669: "超级管理员"
},
"groupId": 1718465,
"holderCorp": 0,
"holderId": 191473,
"id": 12345,
"isCrossCorp": 0,
"priority": 5,
"properties": "",
"questionType": {
"id": 1709053,
"name": "企业name",
"parent": 1708930,
"path": "一级分类/二级分类"
},
"relationCorp": 0,
"relationWorksheet": 0,
"staffId": 178669,
"status": 10,
"templateId": 127237,
"templateName": "模版名称",
"title": "这是工单标题",
"typeId": 1709053,
"userEmail": "",
"userId": 0,
"userMobile": "",
"userName": ""
}
}
请求参数
Query 参数
appKey
string
必需
默认值:
{{appKey}}
time
string
必需
默认值:
{{time}}
checksum
string
必需
默认值:
{{checksum}}
Body 参数application/json