搜索工单
POST
https://qiyukf.com/openapi/v2/ticket/search
{
"path": "1级/1.1级", // 每一级的完整名称
"idpath": [1555974, 1555977], // 每一级对应的ID
"id": 1555977 //级联自定义字段ID
}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://qiyukf.com/openapi/v2/ticket/search?appKey=&time=&checksum=' \
--header 'Content-Type: application/json' \
--data-raw '{
"ticketId":123,
"mobile":"18668686868",
"limit":50,
"offset": 0,
"sortBy":"ct",
"order":"asc",
"start":1498736257082,
"end":1498736257082,
"opStart":1498736257082,
"opEnd":1498736257082,
"withCustomField":false,
"uid":"abc175"
}'
响应示例响应示例
{
"code": 200,
"message": {
"total": 100,
"tickets": [
{
"id": 123,
"staffId": 123456,
"templateId": 12345,
"userName": "大门",
"userEmail": "a@b.c",
"userMobile": "18668686868",
"typeId": 11,
"priority": 1,
"groupId": 12345,
"title": "退货",
"content": "太好了",
"status": 5,
"properties": "{}",
"createTime": 1498736257082,
"custom": [
{
"id": 111,
"name": "abc",
"value": "def"
}
]
}
]
}
}
请求参数
Query 参数
appKey
string
必需
默认值:
{{appKey}}
time
string
必需
默认值:
{{time}}
checksum
string
必需
默认值:
{{checksum}}
Body 参数application/json