orchestrator
2020.10
false
- 基本情報
- Swagger の定義
- Orchestrator API
フォルダーの要求
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。
新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
サポート対象外
Orchestrator API ガイド
フォルダーの要求
POST
{OrchestratorURL}/odata/Folders/UiPath.Server.Configuration.OData.AssignUsers
{
"assignments": {
"UserIds": [58571],
"RolesPerFolder": [
{
"FolderId": 14091,
"RoleIds": [25]
}
]
}
}
{
"assignments": {
"UserIds": [58571],
"RolesPerFolder": [
{
"FolderId": 14091,
"RoleIds": [25]
}
]
}
}
GET
{OrchestratorURL}/odata/Folders/UiPath.Server.Configuration.OData.GetUsersForFolder(key=14089,includeInherited=true)?$expand=UserEntity%2CRoles
{
"@odata.context": "{OrchestratorURL}/odata/$metadata#UserRoles",
"@odata.count": 2,
"value": [
{
"Id": 52454,
"UserEntity": {
"UserName": "admin",
"IsInherited": true,
"Id": 52454
},
"Roles": [
{
"Name": "Administrator",
"Origin": "Assigned",
"Id": 13
},
{
"Name": "Test",
"Origin": "Assigned",
"Id": 25
}
]
},
{
"Id": 58571,
"UserEntity": {
"UserName": "Petrix",
"IsInherited": false,
"Id": 58571
},
"Roles": [
{
"Name": "Test",
"Origin": "Assigned",
"Id": 25
}
]
}
]
}
{
"@odata.context": "{OrchestratorURL}/odata/$metadata#UserRoles",
"@odata.count": 2,
"value": [
{
"Id": 52454,
"UserEntity": {
"UserName": "admin",
"IsInherited": true,
"Id": 52454
},
"Roles": [
{
"Name": "Administrator",
"Origin": "Assigned",
"Id": 13
},
{
"Name": "Test",
"Origin": "Assigned",
"Id": 25
}
]
},
{
"Id": 58571,
"UserEntity": {
"UserName": "Petrix",
"IsInherited": false,
"Id": 58571
},
"Roles": [
{
"Name": "Test",
"Origin": "Assigned",
"Id": 25
}
]
}
]
}