automation-suite
2.2510
true
- 基本情報
- 認証
- 範囲と権限
- プラットフォーム管理 API
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。
新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

UiPath Automation Suite API ガイド
最終更新日時 2025年12月12日
現在認証されているユーザーのアプリ内アラート通知を取得します。
GET
https://{yourDomain}/{organizationName}/notificationservice_/notificationserviceapi/odata/v1/Alerts--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'エンドポイントは、アラート コレクションで標準の OData クエリ オプションをサポートしています。
$filter: アラートをフィルター処理します。例:?$filter=Severity eq 'High'$orderby: アラートを並べ替えます。例:?$orderby=CreationTime desc$top: 返される結果の数を制限します。例:?$top=50$skip: いくつかの結果 (ページング) をスキップします。例:?$skip=50&$top=50$count: 項目の合計数を要求します。注: 有効なブール リテラル ("true"または"false") である必要があります。
次のフィルターの例をご覧ください。
- コンポーネント別:
?$filter=component eq 'Process' - 既読ステート (未読のみ)
?$filter=component eq 'Process' and state eq 'Unread' -
重大度別:
severityフィールドは列挙型です。severityでの等価比較のみがサポートされています。以下に例を示します。severity eq 'Warning'severity in ('Info','Warning')
例:severityでの不等式 (ne) と範囲比較 (gt、ge、 のlt、le) はサポートされていないため、$filter式では使用できません。?$filter=component eq 'Process' and severity eq 'Warning' -
時間範囲別:
?$filter=component eq 'Process' and creationTime ge 2025-01-01T00:00:00Z and creationTime lt 2025-02-01T00:00:00Z -
アラート メッセージまたはコンテキスト内の検索 (
data):?$filter=component eq 'Process' and contains(data,'Timeout')
200 OK
認証されたユーザーのアプリ内アラート通知が正常に取得されました。
400 Bad Request
-
無効な OData クエリ、特に無効な
$count値 (ブール値以外) です。 -
応答本文は標準の JSON エラー オブジェクトであり、invalid count クエリ オプションを示すメッセージが表示されます。
401 未承認
ベアラー トークンが見つからないか、無効です。
403 Forbidden
トークンは有効ですが、
UserContext ポリシーまたは必要な権限を満たしていません。
5xxサーバーエラー
予期しないサーバー側の障害。
要求:
curl --location --request GET \
'https://cloud.uipath.com/{organizationName}/notificationservice_/notificationserviceapi/odata/v1/Alerts?$top=50&$skip=0&$orderby=creationTime desc&$count=true' \
--header 'Authorization: Bearer {access_token}' \
--header 'Accept: application/json'curl --location --request GET \
'https://cloud.uipath.com/{organizationName}/notificationservice_/notificationserviceapi/odata/v1/Alerts?$top=50&$skip=0&$orderby=creationTime desc&$count=true' \
--header 'Authorization: Bearer {access_token}' \
--header 'Accept: application/json'応答:
{
"value": [
{
"id": "<identifier>",
"notificationName": "Robot.StatusChanged.NotResponding",
"data": "{\"robotId\": 123, \"machineName\": \"<machineName>\"}",
"component": "Orchestrator",
"severity": "Warning",
"creationTime": "2025-01-01T12:34:56Z",
"state": "Unread",
"userNotificationId": "<userNotificationId>",
"deepLinkRelativeUrl": "/alerts/deeplink/robot-not-responding?robotId=123"
}
],
"@odata.count": 1
}{
"value": [
{
"id": "<identifier>",
"notificationName": "Robot.StatusChanged.NotResponding",
"data": "{\"robotId\": 123, \"machineName\": \"<machineName>\"}",
"component": "Orchestrator",
"severity": "Warning",
"creationTime": "2025-01-01T12:34:56Z",
"state": "Unread",
"userNotificationId": "<userNotificationId>",
"deepLinkRelativeUrl": "/alerts/deeplink/robot-not-responding?robotId=123"
}
],
"@odata.count": 1
}