Automation Hub
最新
バナーの背景画像
Automation Hub API ガイド
最終更新日 2024年1月29日

Automation Hub API 呼び出しを実行する

  • Define the token as a bearer -H 'Authorization: Bearer [Tenant ID]/ [Token_generted_from_the_Open API_page].

  • If an App Key was defined when generating the token, it's mandatory that you apply it using the following key: x-ah-openapi-app-key: [defined app key]

  • Adding x-ah-openapi-auth: openapi-token key in the header is mandatory as it indicates the token type.

The easiest way to build the Automation URL is by using the process_slug.

For example, if the process_slug is: process_slug": "onboarding-of-new-employee"

Then the URL for that automation is: https://automation-hub.uipath.com/{tenantName}/process_slug/onboarding-of-new-employee

The request should look as in the following example:

Content-Type: application/json 
Authorization: Bearer [Tenant ID/Token] 
x-ah-openapi-app-key: [API key if added] 
x-ah-openapi-auth: openapi-tokenContent-Type: application/json 
Authorization: Bearer [Tenant ID/Token] 
x-ah-openapi-app-key: [API key if added] 
x-ah-openapi-auth: openapi-token
  • [トークン] 列の右側にある [クリップボードにコピー] オプションを使用して、Automation Hub の [OpenAPI] ページからテナントID\トークンの値をコピーして貼り付けます。詳しくは、「Automation Hub からトークンを生成する」をご覧ください。
    docs image
  • If an App Key is included for your token, a Copy to Clipboard option becomes available after the App Key column. Use it to copy-paste your [App Key] value.
    docs image
注:

Automation Hub API の呼び出しを実行するために必要なトークンの有効期間は限られています。トークンの有効期限が切れた場合は、そのトークンに対応する [アクション] 列から [アクション] > [編集] オプションにアクセスして有効期限を編集するか、「Automation Hub からトークンを生成する」の説明に従って新しいトークンを生成してください。そうしないと、401 ステータス コードが返されます。

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.