更新时间:2024-05-07 GMT+08:00
分享

查询消息模板信息

功能介绍

查询消息模板信息。

URI

GET /basic/message/public/api/v1/messageTemplate

请求参数

表1 路径参数

参数

是否必选

参数类型

描述

tenantId

Long

租户ID

请求示例

GET /basic/message/public/api/v1/messageTemplate?tenantId=1

响应参数

状态码: 200

表2 响应Body参数

参数

参数类型

描述

error_code

String

返回码

error_msg

String

返回码描述

datas

Array of MessageTemplate

返回数据

totalCount

Long

返回数据总条数

reserve

String

扩展信息

表3 MessageTemplate

参数

参数类型

描述

id

String

消息模板ID

templateContent

String

消息模板正文

templateName

String

消息模板名称

messageType

String

消息类型

响应示例

{
    "reserve": null,
    "datas": [
        {
            "id": "1",
            "templateContent": "{orgName}组织的{username}申请{applyName}应用的授权。",
            "templateName": "授权申请提醒",
            "messageType": "APPROVAL_NOTIFICATION"
        }
    ],
    "totalCount": 1,
    "error_code": "IPDC.01020000",
    "error_msg": "success"
}

错误码

请参见错误码

分享:

    相关文档

    相关产品