Siebel Field Service Guide > Business Service Methods Reference for Field Service > Scheduling >

ConfirmAppointment Method

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).

Additional Details

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();

srmInputs.SetProperty("Mode", "Sync");

srmInputs.SetProperty("Method", "ConfirmAppointment");

srmInputs.SetProperty("Component", "ApptBook");

srmInputs.SetProperty("ReqKey", Inputs.GetProperty("strSRId"));

// Or whatever way the service region ID is determined

apptBookInputs.SetProperty("ActId", Inputs.GetProperty("strActId"));

apptBookInputs.SetProperty("SvcRegnId", Inputs.GetProperty("strSRId"));

apptBookInputs.SetProperty("ReqId", Inputs.GetProperty("strReqId"));

apptBookInputs.SetProperty("SlotStart", Inputs.GetProperty("strSlotStartTimeSRTimeZone"));


SRMSvc.InvokeMethod("SubmitRequest", srmInputs, srmOutputs);

Siebel Field Service Guide Copyright © 2007, Oracle. All rights reserved.