orchestrator
2023.10
false
Orchestrator API 指南
个人工作区请求
通过以下请求,您可以检索租户中的个人工作区列表及其详细信息,例如每个个人工作区的 ID:
获取
https://{yourDomain}/{organizationName}/{tenantName}/orchestrator_/odata/PersonalWorkspaces
{
"@odata.context": "https://{yourDomain}/{organizationName}/{tenantName}/orchestrator_/odata/$metadata#PersonalWorkspaces",
"@odata.count": 2,
"value": [
{
"Key": "af5277d6-63a6-43e6-9731-64b0d7c6c601",
"Name": "john.smith@mail.com's workspace",
"IsActive": true,
"OwnerId": 1475514,
"OwnerName": "john.smith@mail.com",
"LastLogin": "2022-03-08T17:24:03.23Z",
"ExploringUserIds": [],
"Id": 620795
},
{
"Key": "3af82603-161e-4c0a-a955-4d625a084716",
"Name": "jane.adams@mail.com's workspace",
"IsActive": true,
"OwnerId": 2346675,
"OwnerName": "jane.adams@mail.com",
"LastLogin": "2022-09-19T15:38:14.157Z",
"ExploringUserIds": [],
"Id": 3731674
}
]
}
{
"@odata.context": "https://{yourDomain}/{organizationName}/{tenantName}/orchestrator_/odata/$metadata#PersonalWorkspaces",
"@odata.count": 2,
"value": [
{
"Key": "af5277d6-63a6-43e6-9731-64b0d7c6c601",
"Name": "john.smith@mail.com's workspace",
"IsActive": true,
"OwnerId": 1475514,
"OwnerName": "john.smith@mail.com",
"LastLogin": "2022-03-08T17:24:03.23Z",
"ExploringUserIds": [],
"Id": 620795
},
{
"Key": "3af82603-161e-4c0a-a955-4d625a084716",
"Name": "jane.adams@mail.com's workspace",
"IsActive": true,
"OwnerId": 2346675,
"OwnerName": "jane.adams@mail.com",
"LastLogin": "2022-09-19T15:38:14.157Z",
"ExploringUserIds": [],
"Id": 3731674
}
]
}
通过以下请求,您可以将 ID 为 2142812 的个人工作区转换为名为“FinanceAutomationsJohn”的新式文件夹。 要检索个人工作区的 ID,请向
/odata/PersonalWorkspaces
端点发出 GET 请求。
发布
https://{yourDomain}/{organizationName}/{tenantName}/orchestrator_/odata/PersonalWorkspaces(2142812)/UiPath.Server.Configuration.OData.ConvertToFolder