Automation Suite
2021.10
False
横幅背景图像
Automation Suite API 指南
上次更新日期 2024年4月19日

获取消息模板

根据模板 ID 返回消息模板。

API 端点

docs image
https://{yourDomain}/identity_/api/MessageTemplate/{templateId}

作用域

需要以下作用域:

  • PM.MessageTemplate
  • PM.MessageTemplate.Read

请求标头

--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
注意:如要获取 {access_token},请确保通过描述的其中一种方法进行身份验证。

路径参数

路径参数

数据类型

描述

templateId

(必填)

字符串

要检索的消息模板的 ID。

响应

200 OK

返回消息模板信息,例如消息 ID、消息标题和内容。
{
  "id": 0,
  "name": "string",
  "value": "string"
}{
  "id": 0,
  "name": "string",
  "value": "string"
}
  • API 端点
  • 作用域
  • 请求标头
  • 路径参数
  • 响应
  • 200 OK

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.