orchestrator
2022.10
false
  • 入门指南
  • Swagger 定义
  • Orchestrator API
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Orchestrator API guide

上次更新日期 2025年2月13日

Roles requests

Retrieving info about a specific role according to its ID

This endpoint helps you retrieve details about a particular role based on its ID.

Note: This endpoint only returns folders and roles explicitly set for an auto-provisioned user. The ones inherited from the group configuration can be retrieved through the /api/DirectoryService/GetDirectoryPermissions?userId={userId} endpoint.

GET

https://{yourDomain}/odata/Roles(259)

Request headers

Header

Value

Authorization

Bearer

Request body

{
    "@odata.context": "https://{yourDomain}/odata/$metadata#Roles/$entity",
    "Name": "TestRole",
    "DisplayName": "TestRole",
    "Groups": null,
    "IsStatic": false,
    "IsEditable": true,
    "Id": 259
}{
    "@odata.context": "https://{yourDomain}/odata/$metadata#Roles/$entity",
    "Name": "TestRole",
    "DisplayName": "TestRole",
    "Groups": null,
    "IsStatic": false,
    "IsEditable": true,
    "Id": 259
}

Response code

200 OK

  • Retrieving info about a specific role according to its ID
  • Request headers
  • Request body
  • Response code

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2025 UiPath。保留所有权利。