automation-cloud-public-sector
latest
false
- 入门指南
- 身份验证
- 作用域和权限
- 平台管理 API
重要 :
请注意,此内容已使用机器翻译进行了本地化。
适用于公共部门的 Automation Cloud API 指南
Last updated 2024年9月19日
[预览] 获取特定组
根据组织和组 ID,返回有关组的信息。
GET
https://govcloud.uipath.us/{organizationName}/{tenantName}/identity_/api/Group/{partitionGlobalId}/{groupId}
--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
{groupID}
为:2512
调用应如下所示 (cURL):
curl --location --request GET 'https://govcloud.uipath.us/{organizationName}/{tenantName}/identity_/api/Group/magic-7/2512' \
--header 'Authorization: Bearer 1234' \
--header 'Content-Type: application/json'
curl --location --request GET 'https://govcloud.uipath.us/{organizationName}/{tenantName}/identity_/api/Group/magic-7/2512' \
--header 'Authorization: Bearer 1234' \
--header 'Content-Type: application/json'
以下是成功调用的响应正文:
{
"id": "2512",
"name": "Automation Developers",
"displayName": "Automation Developers",
"type": 0,
"creationTime": "2021-10-19T14:25:01.6574988",
"lastModificationTime": "2021-10-19T14:25:01.6574988",
"members": [
{
"objectType": "DirectoryUser",
"firstName": "Albus",
"lastName": "D",
"jobTitle": "master",
"companyName": "Hogwarts",
"city": "London",
"department": "magic",
"displayName": "Albus D",
"source": "local",
"identifier": "1787ef38-5933-4f2c-a67a-9c22cdb8e6a2",
"name": "albus",
"email": "albus@hogwarts.com"
}
]
}
{
"id": "2512",
"name": "Automation Developers",
"displayName": "Automation Developers",
"type": 0,
"creationTime": "2021-10-19T14:25:01.6574988",
"lastModificationTime": "2021-10-19T14:25:01.6574988",
"members": [
{
"objectType": "DirectoryUser",
"firstName": "Albus",
"lastName": "D",
"jobTitle": "master",
"companyName": "Hogwarts",
"city": "London",
"department": "magic",
"displayName": "Albus D",
"source": "local",
"identifier": "1787ef38-5933-4f2c-a67a-9c22cdb8e6a2",
"name": "albus",
"email": "albus@hogwarts.com"
}
]
}