SvcApptSchdEvent

Represents the service appointment event. This object is included in a streamed notification received on the channels for the parent platform events. You can’t subscribe to the SvcApptSchdEvent channel directly. This object is available in API version 50.0 and later.

Supported Calls

describeSObjects()

Parent Platform Events

  • AppointmentSchedulingEvent
  • ServiceAppointmentEvent

Fields

AdditionalInformation

Type: string

Properties: Nillable

Description: Additional information about the service appointment.

Address

Type: string

Properties: Nillable

Description: The address of the service appointment.

AppointmentType

Type: string

Properties: Nillable

Description: The service appointment type.

ChangedFields

Type: complexvalue

Properties: Nillable

Description: List of fields that changed.

Comments

Type: string

Properties: Nillable

Description: Comments about the service appointment.

ContactId

Type: string

Properties: Nillable

Description: ID of the contact associated with the service appointment.

DurationInMinutes

Type: double

Properties: Nillable

Description: The duration of the service appointment in minutes.

Email

Type: string

Properties: Nillable

Description: The email associated with the service appointment.

EventUuid

Type: string

Properties: Nillable

Description: A universally unique identifier (UUID) that identifies a platform event message. This field is available in API version 52.0 and later.

ParentRecordId

Type: string

Properties: Nillable

Description: ID of the parent record associated with the service appointment.

Phone

Type: string

Properties: Nillable

Description: The phone number associated with the service appointment.

ScheduledEndTime

Type: dateTime

Properties: Nillable

Description: The scheduled end time of the service appointment.

ScheduledStartTime

Type: dateTime

Properties: Nillable

Description: The scheduled start time of the service appointment.

ServiceAppointmentId

Type: string

Properties: Nillable

Description: ID of the service appointment.

ServiceTerritoryId

Type: string

Properties: Nillable

Description: ID of the service territories associated with the service appointment.

Status

Type: string

Properties: Nillable

Description: The status of the service appointment.

StatusCategory

Type: string

Properties: Nillable

Description: The status category of the service appointment.

Subject

Type: string

Properties: Nillable

Description: The subject of the service appointment.

WorkTypeBlockTimeAfterAppointment

Type: int

Properties: Nillable

Description: The period of time occurring after the appointment that is typically blocked for this work type.

WorkTypeBlockTimeAfterUnit

Type: string

Properties: Nillable

Description: The unit of the period specified for WorkTypeBlockTimeAfterAppointment. Values include hour and minute.

WorkTypeBlockTimeBeforeAppointment

Type: int

Properties: Nillable

Description: The period of time occurring before the appointment that is typically blocked for this work type.

WorkTypeBlockTimeBeforeUnit

Type: string

Properties: Nillable

Description: The unit of the period specified for WorkTypeBlockTimeBeforeAppointment. Values include hour and minute.

WorkTypeId

Type: string

Properties: Nillable

Description: ID of the work type associated with the service appointment.

Example

This example shows the service appointment fields associated with the event.

{
  "ParentRecordId": "001RM000003rwkfYAA",
  "ContactId": "003RM000006EpajYAC",
  "Status": "None",
  "AdditionalInformation": "Sample additional information",
  "ServiceTerritoryId": "0Hhxx0000004mu4",
  "Comments": "Sample comment",
  "Email": "abc@example.com",
  "Address": "1 Market Street San Francisco CA 94105 United States",
  "WorkTypeId": "08qxx0000004C92",
  "WorkTypeBlockTimeBeforeAppointment": 30,
  "WorkTypeBlockTimeAfterAppointment": 1,
  "WorkTypeBlockTimeBeforeUnit": "minutes",
  "WorkTypeBlockTimeAfterUnit": "hours",
  "ServiceAppointmentId": "08pxx0000005Ip6",
  "ScheduledEndTime": "2020-02-28T00:45:00.000Z",
  "Subject": "Apply for Chase Sapphire Preferred Card",
  "AppointmentType": "null",
  "StatusCategory": "None",
  "DurationInMinutes": 60,
  "Phone": "4157286216",
  "ScheduledStartTime": "2020-02-27T23:45:00.000Z"
}