UiPath Documentation
automation-cloud
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Automation Cloud API 指南

上次更新日期 2026年4月7日

获取消息模板

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

API 端点

GET {accessURL}/{organizationName}/identity_/api/MessageTemplate/{templateId}

将所有端点路径中的{accessURL}替换为您的云平台的基本 URL:

Cloud Platform访问 URL
Automation Cloudhttps://cloud.uipath.com/
Automation Cloud 公共部门https://govcloud.uipath.us/
Automation Cloud 专用https://{customURL}.dedicated.uipath.com/

作用域

需要以下作用域:

  • 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'

路径参数

路径参数数据类型描述
templateId (必填)字符串要检索的消息模板的 ID。

响应

200 OK

返回消息模板信息,例如消息 ID、消息标题和内容。

{
  "id": 0,
  "name": "string",
  "value": "string"
}
{
  "id": 0,
  "name": "string",
  "value": "string"
}
  • API 端点
  • 作用域
  • 请求标头
  • 路径参数
  • 响应
  • 200 OK

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新