更新时间:2022-07-14 GMT+08:00
分享

查询模板

功能介绍

用户在提交工单的时候,需要按照模板填写,可以引导用户提交有效信息。

URI

GET /v1.0/servicerequest/case/template

请求消息

请求参数

参数

是否必选

参数类型

取值范围

描述

businessTypeId

String

64

问题类型ID。

具体ID请参见查询工单问题类型获取的产品ID。

请求示例

businessTypeId=12312313

响应消息

响应参数

表1 响应参数

参数

参数类型

描述

totalCount

Integer

模板总数。

templateList

List<Template>

工单模板信息列表。

具体请参见表2

表2 templateList字段数据结构说明

参数

参数类型

描述

templateId

String

模板id

templateName

String

模板名称

templateContent

String

模板内容

响应示例

{
    "totalCount": 13,
    "templateList": [
        {
            "templateId": "123",
            "templateName": "活动类",
            "templateContent": ""
        },
        {
            "templateId": "123",
            "templateName": "配额类",
            "templateContent": ""
        }
    ]
}

状态码

状态码请参见状态码

错误码

状态码请参见历史错误码

分享:

    相关文档

    相关产品