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

CancelAppointment Method


CancelAppointment is used to cancel a scheduled appointment. This method sets the appointment status to Cancelled, removes the planned start and end time, and removes the activity from the cache.

Usage

This method is the same as the Appointment Booking Service's CancelAppointment method. See CancelAppointment Method for more information.

Additional Details

The inputs for this method are described in Table 153.

Table 153. Inputs for CancelAppointment Method
Input
Description

ActId

Activity ID of the activity that needs to be canceled.

SvcRegnId

Service region ID of the activity.

The outputs for this method are described in Table 154.

Table 154. Outputs for CancelAppointment Method
Output
Description

Message

Optimizer error tracing message that is returned if an error occurs.

ErrorCode

Error code returned from the Optimizer, indicating whether or not the operation is successful. A value of 0 indicates success.

Siebel Field Service Guide