ConnectApi.ServiceAppointmentInput

Contains information about the service appointment.

PropertyTypeDescriptionRequired or OptionalAvailable Version
additionalInformationStringAdditional details about the service appointment.Optional53.0
appointmentModeConnectApi.SvcApptModeEnumMode of the service appointment.
  • Group— Service appointment mode is Group.
  • Regular— Default mode of service appointment.
Optional60.0
appointmentTypeStringType of the appointment.Optional53.0
attendeeLimitIntegerMaximum number of customers that’s allowed to attend the service appointment.Required if the appointment mode is Group.60.0
cityStringName of the city.Optional53.0
commentsStringComments about the appointment.Optional53.0
contactIdStringID of the contact associated with the parent record.Optional53.0
countryStringName of the country.Optional53.0
descriptionStringDescription of the appointment.Optional53.0
engagementChannelTypeIdStringID of the engagement channel type to associate with the appointment.
You can use engagement channel type only if:
  • Schedule Appointments Using Engagement Channels is enabled in Salesforce Scheduler Settings in your Salesforce org.
  • Shifts are defined in the scheduling policy. For more information on setting up shifts in the scheduling policy, see Define Shift Rules in Scheduling Policy. Engagement channel types are not supported with operating hours rules in the scheduling policy.
Optional56.0
extendedFieldsList<ConnectApi.ExtendedFieldInput>Values to add to any of the fields, including custom fields.Optional53.0
parentRecordIdStringID of the parent record associated with the account.Required if lead isn’t provided.53.0
postalCodeStringPostal code of the city.Optional53.0
schedEndTimeDatetimeTime at which the appointment is scheduled to end.Optional53.0
schedStartTimeDatetimeTime at which the appointment is scheduled to start.Optional53.0
serviceTerritoryIdStringID of the service territory associated with the service appointment.Optional53.0
stateStringName of the state.Optional53.0
streetStringName of the street.Optional53.0
subjectStringShort phrase describing the appointment.Optional53.0
workTypeIdStringID of the work type associated with the service appointment. If specified, it is added to the service appointment record.Optional53.0