AppointmentSchedulingEvent
サポートされているコール
describeSObjects()
特別なアクセスルール
AppointmentSchedulingEvent は、Salesforce Scheduler の一部として使用できます。
サポートされているサブスクライバー
| サブスクライバー | サポートされているかどうか |
|---|---|
| Apex トリガー | ![]() |
| フロー | |
| プロセス | |
| Pub/Sub API | ![]() |
| ストリーミング API (CometD) | ![]() |
登録チャネル
/event/AppointmentSchedulingEvent
イベント配信割り当ての適用
はい
項目
| 項目 | 詳細 |
|---|---|
| AssignedResourceFields |
|
| ChangeType |
|
| CorrelationId |
|
| EventUuid |
|
| ReplayId |
|
| ServiceAppointmentFields |
|
例
この例は、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}