automation-cloud-public-sector
latest
false
重要 :
请注意,此内容已使用机器翻译进行了本地化。

适用于公共部门的 Automation Cloud API 指南
上次更新日期 2025年1月29日
获取特定机器人帐户
根据组织和机器人帐户 ID,返回有关机器人帐户的信息。
GET
https://govcloud.uipath.us/{organizationName}/identity_/api/RobotAccount/{partitionGlobalId}/{robotAccountId}
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
假设您收集了构建 API 调用所需的所有信息。
- 您的
{baseURL}
为:https://govcloud.uipath.us/{organizationName}/{tenantName}/
-
您的
{access_token}
为:1234
(出于长度考虑)。 {partitionGlobalId}
为:magic-7
{robotAccountID}
为:33-ab
调用应如下所示 (cURL):
curl --location --request GET 'https://govcloud.uipath.us/{organizationName}/{tenantName}/identity_/api/RobotAccount/magic-7/33-ab' \
--header 'Authorization: Bearer 1234' \
--header 'Content-Type: application/json'
curl --location --request GET 'https://govcloud.uipath.us/{organizationName}/{tenantName}/identity_/api/RobotAccount/magic-7/33-ab' \
--header 'Authorization: Bearer 1234' \
--header 'Content-Type: application/json'
以下是成功调用的响应正文:
{
"id": "33-ab",
"name": "Bot3",
"displayName": "Bot3",
"creationTime": "2021-10-19T14:25:01.6574988",
"lastModificationTime": "2021-10-19T14:25:01.6574988",
"groupIds": [
"4d161738-7204", "ce684f6f-5af3"
]
}
{
"id": "33-ab",
"name": "Bot3",
"displayName": "Bot3",
"creationTime": "2021-10-19T14:25:01.6574988",
"lastModificationTime": "2021-10-19T14:25:01.6574988",
"groupIds": [
"4d161738-7204", "ce684f6f-5af3"
]
}