automation-hub
2021.10
false
重要 :
请注意此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white
不在支持范围内

Automation Hub API 指南

Automation CloudAutomation Cloud Public SectorAutomation Suite
上次更新日期 2024年11月11日

检索用户帐户

以下请求举例说明了如何在租户中检索符合以下条件的用户帐户:

  • 从名称设置为“Jane”的租户中搜索所有用户帐户:s=jane

GET: https://{yourDomain}/automationhub_/api/v1/openapi/users?s=jane

请求

Content-Type: application/json
	Authorization: Bearer [Tenant ID/Token]
  x-ah-openapi-app-key: [API key if added]
  x-ah-openapi-auth: openapi-token Content-Type: application/json
	Authorization: Bearer [Tenant ID/Token]
  x-ah-openapi-app-key: [API key if added]
  x-ah-openapi-auth: openapi-token

响应

"message": "Success",
    "statusCode": 200,
    "data": {
        "page": 1,
        "pageSize": 4,
        "totalItems": 4,
        "totalPages": 1,
        "users": [
            {
                "user_email": "jane.doe@email",
                "user_first_name": "Jane",
                "user_last_name": "Doe",
                "user_location": "Brooklyn",
                "user_department": "Engineering",
                "user_business_unit": "Product",
                "user_job_title": "Developer",
                "user_is_active": 1,
                "user_invite_status": 2,
                "user_roles": [
                    {
                      "role_id": 6,
                      "category_id": 0
                     },
                     {
                       "role_id": 4,
                       "category_id": 0
                      },
                      {
                       "role_id": 5,
                       "category_id": 3
        }
      ]
    }  "message": "Success",
    "statusCode": 200,
    "data": {
        "page": 1,
        "pageSize": 4,
        "totalItems": 4,
        "totalPages": 1,
        "users": [
            {
                "user_email": "jane.doe@email",
                "user_first_name": "Jane",
                "user_last_name": "Doe",
                "user_location": "Brooklyn",
                "user_department": "Engineering",
                "user_business_unit": "Product",
                "user_job_title": "Developer",
                "user_is_active": 1,
                "user_invite_status": 2,
                "user_roles": [
                    {
                      "role_id": 6,
                      "category_id": 0
                     },
                     {
                       "role_id": 4,
                       "category_id": 0
                      },
                      {
                       "role_id": 5,
                       "category_id": 3
        }
      ]
    }

此页面有帮助吗?

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