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

更新消息模板

按模板 ID 更新现有消息模板。

API 端点

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

作用域

需要以下作用域:

  • PM.MessageTemplate
  • PM.MessageTemplate.Write

请求标头

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

路径参数

参数

数据类型

描述

templateId

(必填)

字符串

要更新的消息模板的 ID。

请求正文

请求正文包含消息 ID 和新内容。

{
  "id": 0,
  "value": "string"
}{
  "id": 0,
  "value": "string"
}

响应

200 OK

消息模板将更新,并返回新信息。
{
  "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.