UiPath Documentation
uipath-cli
latest
false
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

UiPath CLI ユーザー ガイド

UIP またはカレンダー

uip or calendars は、スケジュールされた実行を スキップするためにタイムトリガーで参照する、除外された日付 (「非稼働日」とも呼ばれる) のテナント範囲のリストであるカレンダーを管理します。各カレンダーには、名前、タイムゾーン、および除外日のリストがあります。

概要

uip or calendars <verb> [options]
uip or calendars <verb> [options]

動詞

動詞目的
listテナント内の予定表のリストを取得します。
get除外日を含むキーで 1 つの予定表を取得します。
create任意のタイムゾーンでカレンダーを作成します。
updateキーで予定表の名前を変更するか、予定表のタイムゾーンを変更します。
deleteキーで予定表を削除します。

すべての動詞は 、グローバル オプション (--output--output-filter--log-level--log-file) に従います。終了コードは 標準コントラクトに従います。

UIP またはカレンダーのリスト

テナント内のすべての予定表のリストを取得します。集計フィールド (idnametimeZoneIdexcludedDateskey) を返します。calendars get は 1 つのカレンダーに使用します。

オプション

Short長押し値 (Value)既定 (Default)説明
-t--tenantnameセッションの既定値テナントを上書きします。
-l--limitNumber50ページ サイズ
--offsetNumber0カウントをスキップします。

uip or calendars list
uip or calendars list --limit 100
uip or calendars list --output-filter 'Data[].{k:key, n:name}'
uip or calendars list
uip or calendars list --limit 100
uip or calendars list --output-filter 'Data[].{k:key, n:name}'

データシェイプ(--output json)

{
  "Code": "CalendarList",
  "Data": [
    {
      "name": "US Holidays",
      "timeZoneId": "America/New_York",
      "excludedDates": ["2025-07-04", "2025-12-25"],
      "key": "a1b2c3d4-0000-0000-0000-000000000001",
      "id": 1001
    }
  ]
}
{
  "Code": "CalendarList",
  "Data": [
    {
      "name": "US Holidays",
      "timeZoneId": "America/New_York",
      "excludedDates": ["2025-07-04", "2025-12-25"],
      "key": "a1b2c3d4-0000-0000-0000-000000000001",
      "id": 1001
    }
  ]
}

uip または予定表が取得

GUID キーで予定表を取得します。除外日を含む詳細を返します。

引数

名前Required目的
<calendar-key>カレンダー キー (GUID)[ calendars list] で検索します。

オプション

Short長押し値 (Value)既定 (Default)説明
-t--tenantnameセッションの既定値テナントを上書きします。

uip or calendars get a1b2c3d4-0000-0000-0000-000000000001
uip or calendars get a1b2c3d4-0000-0000-0000-000000000001 \
    --output-filter 'Data.excludedDates'
uip or calendars get a1b2c3d4-0000-0000-0000-000000000001
uip or calendars get a1b2c3d4-0000-0000-0000-000000000001 \
    --output-filter 'Data.excludedDates'

データシェイプ(--output json)

{
  "Code": "CalendarGet",
  "Data": {
    "name": "US Holidays",
    "timeZoneId": "America/New_York",
    "excludedDates": ["2025-07-04", "2025-12-25"],
    "key": "a1b2c3d4-0000-0000-0000-000000000001",
    "id": 1001
  }
}
{
  "Code": "CalendarGet",
  "Data": {
    "name": "US Holidays",
    "timeZoneId": "America/New_York",
    "excludedDates": ["2025-07-04", "2025-12-25"],
    "key": "a1b2c3d4-0000-0000-0000-000000000001",
    "id": 1001
  }
}

uip または calendars create

新しいカレンダーを作成します。カレンダーはテナントスコープです。--time-zone省略すると、タイムゾーンは既定で UTC に設定されます。

引数

名前Required目的
<name>カレンダー名。

オプション

Short長押し値 (Value)既定 (Default)説明
-t--tenantnameセッションの既定値テナントを上書きします。
--time-zonetz IDUTCカレンダーのタイムゾーン ( Europe/Bucharestなど)。

uip or calendars create "EU Holidays" --time-zone "Europe/Bucharest"
uip or calendars create "US Holidays"
uip or calendars create "EU Holidays" --time-zone "Europe/Bucharest"
uip or calendars create "US Holidays"

データシェイプ(--output json)

{
  "Code": "CalendarCreated",
  "Data": {
    "name": "EU Holidays",
    "timeZoneId": "Europe/Bucharest",
    "excludedDates": [],
    "key": "a1b2c3d4-0000-0000-0000-000000000010",
    "id": 1010
  }
}
{
  "Code": "CalendarCreated",
  "Data": {
    "name": "EU Holidays",
    "timeZoneId": "Europe/Bucharest",
    "excludedDates": [],
    "key": "a1b2c3d4-0000-0000-0000-000000000010",
    "id": 1010
  }
}
注:

この動詞は、空の excludedDates リストを持つカレンダーレコードを作成します。除外日の入力は CLI では公開されません。Orchestrator の UI または API を直接使用してください。

UIP またはカレンダーの更新

GUID キーで予定表を更新します。指定したフィールドのみが変更されます。残りは保存されています。

引数

名前Required目的
<calendar-key>カレンダー キー (GUID)

オプション

Short長押し値 (Value)既定 (Default)説明
-t--tenantnameセッションの既定値テナントを上書きします。
--nametext変更なし新しい名前。
--time-zonetz ID変更なし新しいタイムゾーン。

uip or calendars update a1b2c3d4-0000-0000-0000-000000000010 \
    --name "EU Public Holidays"

uip or calendars update a1b2c3d4-0000-0000-0000-000000000010 \
    --time-zone "Europe/Berlin"
uip or calendars update a1b2c3d4-0000-0000-0000-000000000010 \
    --name "EU Public Holidays"

uip or calendars update a1b2c3d4-0000-0000-0000-000000000010 \
    --time-zone "Europe/Berlin"

データシェイプ(--output json)

{
  "Code": "CalendarUpdated",
  "Data": {
    "name": "EU Public Holidays",
    "timeZoneId": "Europe/Bucharest",
    "excludedDates": [],
    "key": "a1b2c3d4-0000-0000-0000-000000000010",
    "id": 1010
  }
}
{
  "Code": "CalendarUpdated",
  "Data": {
    "name": "EU Public Holidays",
    "timeZoneId": "Europe/Bucharest",
    "excludedDates": [],
    "key": "a1b2c3d4-0000-0000-0000-000000000010",
    "id": 1010
  }
}

UIP またはカレンダーの削除

GUID キーで予定表を削除します。

引数

名前Required目的
<calendar-key>カレンダー キー (GUID)

オプション

Short長押し値 (Value)既定 (Default)説明
-t--tenantnameセッションの既定値テナントを上書きします。

uip or calendars delete a1b2c3d4-0000-0000-0000-000000000010
uip or calendars delete a1b2c3d4-0000-0000-0000-000000000010

データシェイプ(--output json)

{
  "Code": "CalendarDeleted",
  "Data": {
    "Key": "a1b2c3d4-0000-0000-0000-000000000010",
    "Name": "EU Public Holidays",
    "Status": "Deleted successfully"
  }
}
{
  "Code": "CalendarDeleted",
  "Data": {
    "Key": "a1b2c3d4-0000-0000-0000-000000000010",
    "Name": "EU Public Holidays",
    "Status": "Deleted successfully"
  }
}
  • uip or settingssettings timezones --time-zone有効なタイムゾーン ID をリストします。

参照

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得