UiPath Documentation
private-test-cloud
2.2510
true
Test Cloud (プライベート) API ガイド
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

ROPC (非推奨)

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

重要:

リソース所有者のパスワード資格情報 (ROPC) による認証は、スタンドアロンから Automation Suite のデプロイに移行した Orchestrator インスタンスの後方互換性を確保するためにサポートされています。

/api/account/authenticate/ エンドポイントを使用して認証するのはホスト管理者だけにしてください。

ビジネス ユーザーは外部アプリケーションを使用して認証する必要があります。

アクセス トークンを取得するには、次のペイロードを使用して /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
}
重要:
  • 既定では、アクセス トークンは 30 分間有効です。新しいトークンを生成するには、もう一度 api/account/authenticate エンドポイントの呼び出しを行います。
  • Automation Suite 組織で Azure Active Directory モデルを使用している場合は、 Automation Suite に外部アプリケーションを登録 し、外部アプリを使用する必要があります。

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

接続

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

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

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

最新情報を取得