查询工单类型详情
描述
根据id查询工单类型详情。
接口方法
GET
接口URI
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 | contentTempalteId | string | False | 关联的内容模板 |
| 8 | parentId | string | False | 父类型id |
| 9 | isStrctOrder | boolean | True | 是否严格模式 |
| 10 | creatorName | string | True | 创建人名称 |
| 11 | createdDate | Datetime | True | 创建时间 |
| 12 | lastModifiedName | string | True | 最后修改人名称 |
| 13 | lastModifiedDate | Datetime | 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": { "caseStatus": "y,Completed", "contentTemplateId": null, "createdDate": "2023-06-16 10:26:31", "creatorName": "qianbin001", "description": "aaa", "id": "cvmC00000149NzxF1ePA", "isStrictOrder": false, "lastModifiedDate": "2023-06-16 10:26:50", "lastModifiedName": "10gd00000143C5ONGb0y", "parentId": null, "status": "Active", "templateId": "c7s800000149NtKyh4me", "typeName": "aaa" } }}