CancelAppointment Method
CancelAppointment cancels a scheduled appointment. This method sets the appointment status to Cancelled, removes the time values for the planned start and planned end, and removes the activity from the cache.
This method is the same as the CancelAppointment method for the Appointment Booking Service. For more information, see CancelAppointment Method.
Arguments
The following table describes the arguments for this method.
Argument Name | Description |
---|---|
ActId |
The activity ID of the activity to cancel. |
SvcRegnId |
The service region ID of the activity. |
Return Values
The following table describes the return values for this method.
Return Value | Description |
---|---|
Message |
The Optimizer error tracing message that is returned if an error occurs. |
ErrorCode |
The error code returned from the Optimizer. A value of 0 indicates the operation is successful. |