查询工单类型详情
场景描述
根据id查询工单类型详情。
接口方法
GET
接口URL
https://域名/service/AICC__Case/1.0.0/openapi/caseType/{id},例如域名是service.besclouds.com。
请求说明
| 序号 | 名称 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
| 1 | Content-Type | string | True | 消息正文的类型为JSON |
| 2 | access-token | string | True | 用户访问租间token |
| 序号 | 名称 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
| 1 | id | string | True | 工单类型id,id长度为20字节 |
响应说明
- 响应状态码: 200
| 序号 | 名称 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
| 1 | caseTypeInfo | CaseTypes | True | 工单类型详情,字段对象属性介绍见表3 CaseTypes工单类型参数说明。 |
| 序号 | 名称 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
| 1 | id | string | True | 工单类型id |
| 2 | typeName | string | True | 工单类型名称(唯一) |
| 3 | description | string | False | 工单类型描述 |
| 4 | status | string | True | 类型状态 |
| 5 | caseStatus | string | True | 工单流程 |
| 6 | tempalteId | string | True | 关联的工单模板 |
| 7 | contentTemplateId | string | False | 关联的内容模板 |
| 8 | parentId | string | False | 父类型id |
| 9 | isStrictOrder | boolean | True | 是否严格模式 |
| 10 | creatorName | string | True | 创建人名称 |
| 11 | createdDate | Datetime | True | 创建时间 |
| 12 | lastModifiedName | string | True | 最后修改人名称 |
| 13 | lastModifiedDate | Datetime | True | 最后修改时间 |
| 14 | level | string | False | 父子关系层级 |
| 15 | maxReopenDuration | integer | False | 最大重启周期 |
| 16 | maxReopenTimes | integer | False | 最大重启次数 |
| 17 | archiveEmail | string | False | 归档邮箱 |
| 18 | archiveNotificationId | string | False | 归档通知模板Id |
| 19 | caseFSMStatus | string | False | 工单高级流程 |
| 20 | caseFSMStatusLabel | string | False | 工单高级流程节点名称 |
| 21 | caseStatusAgentNotificationId | string | False | 普通流程的节点通知 ID(座席) |
| 22 | caseStatusAgentNotificationTitle | string | False | 普通流程的节点通知标题(座席) |
| 23 | caseStatusQueueNotificationId | string | False | 普通流程的节点通知 ID(队列) |
| 24 | caseStatusQueueNotificationTitle | string | False | 普通流程的节点通知标题(队列) |
| 25 | customerRateNotificaiton | boolean | False | 客户回访通知开关 |
| 26 | disSatisfiedTemplateId | string | False | 不满意通知模板id |
| 27 | isFSMStatus | boolean | False | 是否是高级工单 |
| 28 | isNeedDispatch | boolean | False | 是否自动派单工单队列座席 |
| 29 | isTaskStatusCheck | boolean | False | 是否校验工单任务完成状态 |
| 30 | partiallySatisfiedTemplateId | string | False | 部分满意通知模板id |
| 31 | questionnaireId | string | False | 关联的调查问卷ID。 |
| 32 | satisfiedTemplateId | string | False | 满意通知模板id |
| 33 | sendChannel | string | False | 非必填,调查问卷发送渠道,枚举值SMS/Email,填写questionnaireId时必须填写sendChannel。 |
| 34 | templateId | string | True | 关联的工单模板 |
| 35 | workCalendar | string | False | 工作日历 |
| 36 | workCalendarName | string | False | 工作日历名称 |
| 37 | nodeInfo | string | True | 字段对象属性介绍见表3 CaseTypes工单类型参数说明。 |
| 序号 | 名称 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
| 1 | childTypes | string | True | 子类型 |
| 2 | id | string | True | 工单类型id |
| 3 | level | string | False | 父子关系层级 |
| 4 | parentId | string | False | 父类型id |
| 5 | status | string | True | 类型状态 |
| 6 | typeName | string | True | 工单模板名称(唯一) |
消息样例
场景描述:查询工单类型详情
URL:https://域名/service/AICC__Case/1.0.0/openapi/caseType/{id}
- 请求头:
{
"Content-Type": "application/json",
"access-token": "0000000000************7bm63KsRmEztTvyA="
} - 请求体:
{"id": "cvmC00000149NzxF1ePA"} - 响应头:
{ "connection": "keep-alive",
"Content-Length": "16",
"Content-Type": "application/json%3Bcharset=UTF-8"} - 响应参数:
{
"resCode": "0",
"resMsg": "成功",
"result": {
"caseTypeInfo": {
"archiveEmail": null,
"archiveNotificationId": null,
"caseFSMStatus": "003i000001PgGLkcEDce",
"caseFSMStatusLabel": "bch01-高级无组织-邮件/短信(1.0.1)",
"caseStatus": "Completed",
"caseStatusAgentNotificationId": "",
"caseStatusAgentNotificationTitle": null,
"caseStatusQueueNotificationId": "",
"caseStatusQueueNotificationTitle": null,
"contentTemplateId": null,
"createdDate": "2025-08-28 16:59:43",
"creatorName": "lcadmin01",
"customerRateNotificaiton": false,
"description": null,
"disSatisfiedTemplateId": null,
"id": "cvmC000001PgGpWKuKEC",
"isFSMStatus": true,
"isNeedDispatch": false,
"isStrictOrder": false,
"isTaskStatusCheck": false,
"lastModifiedDate": "2025-08-28 17:00:46",
"lastModifiedName": "10gg000001NQq1Xpf7my",
"level": 1,
"maxReopenDuration": null,
"maxReopenTimes": null,
"nodeInfo": {
"childTypes": [],
"id": "cvmC000001PgGpWKuKEC",
"level": 1,
"parentId": null,
"status": "Active",
"typeName": "bch01-高级无组织-邮件/短信"
},
"parentId": null,
"partiallySatisfiedTemplateId": null,
"questionnaireId": null,
"satisfiedTemplateId": null,
"sendChannel": null,
"status": "Active",
"templateId": "c7s8000001OuEOcOV8nw",
"typeName": "bch01-高级无组织-邮件/短信",
"workCalendar": null,
"workCalendarName": null
}
}
}