AsgnRsrcApptSchdEvent

Represents the assigned resources that are part of various platform events. This object is included in a streamed notification received on the channels for the parent platform events. You can’t subscribe to the AsgnRsrcApptSchdEvent channel directly. This object is available in API version 50.0 and later.

Supported Calls

describeSObjects()

Parent Platform Events

  • AppointmentSchedulingEvent
  • ServiceAppointmentEvent

Fields

Field Details
AssignedResourceId
Type
string
Properties
Nillable
Description
ID of the assigned resource.
ChangedFields
Type
complexvalue
Properties
Nillable
Description
A list of fields that changed.
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.
IsPrimaryResource
Type
boolean
Properties
Defaulted on create
Description
Indicates whether the resource is primary.
IsRequiredResource
Type
boolean
Properties
Defaulted on create
Description
Indicates whether the resource is required.
ServiceResourceId
Type
string
Properties
Nillable
Description
ID of the service resource assigned to the event.
ServiceResourceUserEmail
Type
string
Properties
Nillable
Description
Email of the service resource user assigned to the event.
ServiceResourceUserId
Type
string
Properties
Nillable
Description
ID of the user record associated with the service resource assigned to the event.
ServiceResourceUserName
Type
string
Properties
Nillable
Description
Username as per the user record associated with the service resource assigned to the event.

Example

This example shows the assigned resources associated with the event.
{
  "IsPrimaryResource": true,
  "ServiceResourceUserName": "Rachel Adams",
  "ServiceResourceUserId": "005xx000001X7dl",
  "AssignedResourceId": "03rxx0000004gLc",
  "ServiceResourceId": "0Hnxx0000004C92",
  "ServiceResourceUserEmail": "ra@example.com",
  "IsRequiredResource": true
}