ConnectApi.CreateServiceAppointmentInput

Contains information to create a service appointment.

PropertyTypeDescriptionRequired or OptionalAvailable Version
assignedResourcesList<ConnectApi.AssignedResourcesInput>Represents the service resources to be assigned to a service appointment. When creating an appointment, use extendedFields to add values to any of the fields, including custom fields, in assignedResources as long as you have edit access to those fields.Optional53.0
leadConnectApi.LeadInputRepresents a prospect or lead. Required to create a service appointment for unauthenticated guest users.Required if serviceAppointment isn’t provided.53.0
schedulingPolicyIdStringThe ID of the AppointmentSchedulingPolicy object. If no scheduling policy is passed in the request body, the default configurations are used. The only scheduling policy configuration that is used in determining time slots is the enforcement of account visiting hours.Optional53.0
serviceAppointmentConnectApi.ServiceAppointmentInputRepresents the service appointment details to book an appointment. When creating an appointment, use extendedFields to add values to any of the fields, including custom fields, in assignedResources as long as you have edit access to those fields.Required if lead isn’t provided.53.0