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

AppointmentSchedulingEvent

予定スケジュールが追加、更新、削除された場合に登録者に通知します。このオブジェクトは API バージョン 50.0 以降で使用できます。

サポートされているコール

describeSObjects()

特別なアクセスルール

AppointmentSchedulingEvent は、Salesforce Scheduler の一部として使用できます。

サポートされている登録者

登録者 サポートされているかどうか
Apex トリガ はい
フロー
プロセス
ストリーミング API (CometD) はい

ストリーミング API 登録チャネル

/event/AppointmentSchedulingEvent

項目

項目 詳細
AssignedResourceFields
AsgnRsrcApptSchdEvent[]
プロパティ
Nillable
説明
予定に関連付けられた割り当て済みリソース。
ChangeType
string
プロパティ
Nillable
説明
変更を発生させた操作。たとえば、CREATE、UPDATE、DELETE です。
CorrelationId
string
プロパティ
Nillable
説明
予定をプラットフォームイベントと相関させるユニバーサル一意識別子 (UUID)。
EventUuid
string
プロパティ
Nillable
説明
プラットフォームイベントメッセージを識別するユニバーサル一意識別子 (UUID)。この項目は、API バージョン 52.0 以降で使用できます。
ReplayId
string
プロパティ
Nillable
説明
システムによって生成された ID 値を表し、イベントストリーム内のイベントの位置を参照します。連続するイベントに対して再生 ID の値に連番が振られるという保証はありません。登録者は再生 ID の値を保存し、再登録時にその値を使用して、保持ウィンドウ内の欠落したイベントを取得できます。
ServiceAppointmentFields
SvcApptSchdEvent[]
プロパティ
Nillable
説明
予定に関連付けられたサービス予定。

この例は、2 つの割り当て済みリソースを含む新規予定のイベントメッセージです。

1{
2  "schema": "Zog7FKcPWV9DeEIEVHsoug",
3  "payload": {
4    "CreatedById": "005xx000001X7dlAAC",
5    "ChangeType": "CREATE",
6    "ServiceAppointmentFields": {
7      "ParentRecordId": "001RM000003rwkfYAA",
8      "ContactId": "003RM000006EpajYAC",
9      "Status": "None",
10      "AdditionalInformation": "Sample additional information",
11      "ServiceTerritoryId": "0Hhxx0000004mu4",
12      "Comments": "Sample comment",
13      "Email": "abc@example.com",
14      "Address": "1 Market Street San Francisco CA 94105 United States",
15      "WorkTypeId": "08qxx0000004C92",
16      "WorkTypeBlockTimeBeforeAppointment": 30,
17      "WorkTypeBlockTimeAfterAppointment": 1,
18      "WorkTypeBlockTimeBeforeUnit": "minutes",
19      "WorkTypeBlockTimeAfterUnit": "hours",
20      "ServiceAppointmentId": "08pxx0000005Ip6",
21      "ScheduledEndTime": "2020-02-28T00:45:00.000Z",
22      "Subject": "Apply for Privileged Customer Card",
23      "AppointmentType": "null",
24      "StatusCategory": "None",
25      "DurationInMinutes": 60,
26      "Phone": "4155551212",
27      "ScheduledStartTime": "2020-02-27T23:45:00.000Z"
28    },
29    "AssignedResourceFields": [
30      {
31        "IsPrimaryResource": true,
32        "ServiceResourceUserName": "Rachel Adams",
33        "ServiceResourceUserId": "005xx000001X7dl",
34        "AssignedResourceId": "03rxx0000004gLc",
35        "ServiceResourceId": "0Hnxx0000004C92",
36        "ServiceResourceUserEmail": "ra@example.com",
37        "IsRequiredResource": true
38      },
39      {
40        "IsPrimaryResource": false,
41        "ServiceResourceUserName": "Andrew Collins",
42        "ServiceResourceUserId": "005xx000001XPNl",
43        "AssignedResourceId": "03rxx0000004gNE",
44        "ServiceResourceId": "0Hnxx0000006z8q",
45        "ServiceResourceUserEmail": "ac@example.com",
46        "IsRequiredResource": false
47      }
48    ],
49    "CreatedDate": "2020-02-25T01:57:39.936Z",
50    "CorrelationId": "d7c0bbGiUObLF6BD3NaG"
51  },
52  "event": {
53    "replayId": 3
54  }
55}