Service Appointment Input
- Root XML tag
- <serviceAppointment>
- JSON example
-
{ "serviceAppointment": { "parentRecordId": "001RM000004PhDgYAK", "workTypeId": "08qRM0000004LyJYAU", "serviceTerritoryId": "0HhRM0000004MNd0AM", "schedStartTime": "2019-10-30T13:00:00.000Z", "schedEndTime": "2019-10-30T14:00:00.000Z", "street": "1 Market Street", "city": "San Francisco", "state": "CA", "postalCode": "94105", "country": "USA", "appointmentType": "In Person", "appointmentMode": "Group", "attendeeLimit": "20", "extendedFields": [] } }
- Properties
-
Name Type Description Required or Optional Available Version additionalInformation String Additional information about the service appointment. Optional 48.0 appointmentType String Specifies the API name of the appointment type for the service appointment. Optional 48.0 appointmentMode String Mode of the service appointment. Valid values are: - Group
- Regular
The default value is Regular.
Optional 60.0 attendeeLimit Integer Maximum number of customers that’s allowed to attend the service appointment. Required if the appointment mode is Group. 60.0 city String City where the appointment is completed. Optional 48.0 comments String Comments about the appointment. Optional 48.0 contactId String Contact associated with the parent record. Optional 48.0 country String Country where the appointment is completed. Optional 48.0 description String Description of the appointment. Optional 48.0 engagementChannelTypeId String ID 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.
Optional 56.0 extendedFields Extended Fields Input[] Custom fields. Optional 48.0 parentRecordId String Parent record associated with the appointment. Required 48.0 postalCode String Postal code where the appointment is completed. Optional 48.0 schedEndTime String Time at which the appointment is scheduled to end.
Ensure the scheduled start time and end time align with the available time slots.
Optional 48.0 schedStartTime String Time at which the appointment is scheduled to start.
Ensure the scheduled start time and end time align with the available time slots.
Optional 48.0 serviceTerritoryId String Service territory associated with the appointment. Optional 48.0 state String State where the service appointment is completed. Optional 48.0 street String Street number and name where the service appointment is completed. Optional 48.0 subject String Short phrase describing the appointment. Optional 48.0 workTypeId String Work type associated with the service appointment. If specified, it is added to the service appointment record. Optional 48.0