Siebel Field Service Guide > Business Service Methods Reference for Field Service > Scheduling >
ConfirmAppointment confirms the selected appointment (time slot) that the GetAppointment method has reserved. The activity is assigned to the given owner and starts during the selected time slot. This method also releases the other time slots that GetAppointment previously reserved.
The GetAppointment and GetAppointments methods generate a property set containing a list of time slots that are available for the activity. Each returned time slot contains properties. The time slot that these methods pass to the ConfirmAppointment method includes the Slot Start - SR Time Zone property, which is the slot start time in the time zone of the activity's service region.
This method is called when the user clicks the Book Appointment button on the Activities screen > Activity List > Schedule view, and selects a time slot from the Pick Appointment dialog box (Abs Result Pick Applet).
The inputs for this method are described in Table 151.
Table 151. Inputs for ConfirmAppointment Method
Request ID returned by the ABS for the GetAppointment method.
Service region ID of the activity.
There are no outputs for this method.
ConfirmAppointment needs an additional input property request key for the Server Requests business service. See Invoking the ABS and Optimization Engine Methods for more information. The following is a sample script that defines this additional input.
var SRMSvc = TheApplication().GetService("Server Requests");
var srmInputs = TheApplication().NewPropertySet();
var apptBookInputs = TheApplication().NewPropertySet();
var srmOutputs = TheApplication().NewPropertySet();
// Or whatever way the service region ID is determined
SRMSvc.InvokeMethod("SubmitRequest", srmInputs, srmOutputs);