この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

レコードアラートコレクションの対応付け

一括レコードアラート要求の出力表現。
JSON の例
1{
2  "hasErrors": true,
3  "results": {
4    "001RO000003KPW0YAO": {
5      "recordAlertErrors": [
6        {}
7      ],
8      "recordAlerts": [
9        {
10          "actions": {
11            "actionInfoCollection": [
12              {
13                "actionName": "snooze",
14                "parameters": [
15                  "snoozeUntilDate"
16                ]
17              },
18              {
19                "actionName": "dismiss",
20                "parameters": []
21              }
22            ]
23          },
24          "active": true,
25          "description": "Alert Description",
26          "effectiveDate": "2022-03-10T20:00:00.000Z",
27          "id": "0qZRO000000008o",
28          "severity": "Error",
29          "snoozeUntilDate": "2022-03-12T19:09:06.000Z",
30          "source": "Internal",
31          "subject": "Alert Subject",
32          "validUntilDate": "2022-03-30T19:00:00.000Z",
33          "whatId": "001RO000003KPW0"
34        }
35      ],
36      "status": "SUCCESS"
37    },
38    "001RO000003NJJrYAO": {
39      "recordAlertErrors": [
40        {
41          "errorCode": "Apex_Execution_Error",
42          "errorMessage": "Insufficient access to record"
43        }
44      ],
45      "recordAlerts": [
46        {
47          "actions": {
48            "actionInfoCollection": [
49              {
50                "actionName": "snooze",
51                "parameters": [
52                  "snoozeUntilDate"
53                ]
54              },
55              {
56                "actionName": "dismiss",
57                "parameters": []
58              }
59            ]
60          },
61          "active": true,
62          "description": "Alert Description",
63          "effectiveDate": "2022-03-08T20:00:00.000Z",
64          "id": "0qZRO00000000BO",
65          "severity": "Info",
66          "snoozeUntilDate": "2022-03-21T15:26:45.000Z",
67          "source": "Internal",
68          "subject": "Alert Subject",
69          "validUntilDate": "2022-03-31T19:00:00.000Z",
70          "whatId": "001RO000003NJJr"
71        }
72      ]
73    },
74    "status": "PARTIAL_SUCCESS"
75  }
76}
プロパティ名 説明 検索条件グループとバージョン 使用可能なバージョン
hasErrors Boolean 少なくとも結果セットの 1 つの結果にエラーがあるか (true)、否か (false) を示します。 Small、55.0 55.0
results Map<String, Record Alert Collection> レコードアラートのコレクションを表します。 Small、55.0 55.0