UiPath Documentation
private-test-cloud
2.2610
true
Test Cloud (プライベート) API ガイド

ROPC (非推奨)

Test Cloud (プライベート) 向けの、ROPC (非推奨) の API リファレンス。エンドポイント、要求フィールド、応答の詳細が含まれます。

重要:

We support authentication through (Resource Owner Password Credentials) ROPC for backwards compatibility for Orchestrator instances that have been migrated from standalone to Automation Suite deployments. Only host administrators should authenticate using the /api/account/authenticate/ endpoint. Business users should authenticate using external applications.

アクセス トークンを取得するには、次のペイロードを使用して /api/account/authenticate エンドポイントに POST 要求を送信します。

{
    "TenancyName": "{account_tenant_name}",
    "UsernameOrEmailAddress": "{account_username}",
    "Password": "{account_password}"
}
{
    "TenancyName": "{account_tenant_name}",
    "UsernameOrEmailAddress": "{account_username}",
    "Password": "{account_password}"
}

場所:

  • {account_tenant_name} - は Automation Suite アカウント内のテナントの名前です。
  • {account_username} - は Automation Suite アカウントのユーザー名です。
  • {account_password} - Automation Suite アカウントへのログインに使用するパスワードです。
    ヒント:

    Orchestrator インスタンスの TenancyName の値を見つけるには、 /odata/Users/UiPath.Server.Configuration.OData.GetCurrentUserに GET 要求を行います。

応答本文は、ベアラー トークンを返します。このトークンは、アプリケーションが追加の API 呼び出しを認可するために使用します。したがって、API 呼び出しの認可ヘッダーに Bearer xxxx を追加し、xxxx を {access_token} の値に置き換えます (例: Authorization: Bearer eyJhbG ... LnVxjA)。

{
    "result": "{access_token}",
    "targetUrl": null,
    "success": true,
    "error": null,
    "unAuthorizedRequest": false,
    "__abp": true
}
{
    "result": "{access_token}",
    "targetUrl": null,
    "success": true,
    "error": null,
    "unAuthorizedRequest": false,
    "__abp": true
}
重要:

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得