LoadActivities Method
LoadActivities loads activities into the Optimizer cache. The Optimizer then inserts the activities into an employee calendar if the Optimizer can schedule the activities. The activities already include a planned start and planned end.
This method is the same as the LoadActivities method for the Appointment Booking Service. For more information, see LoadActivities Method.
Arguments
The following table describes the arguments for this method.
Argument Name | Description |
---|---|
ActIds |
The comma-separated activity IDs. |
SvcRegnId |
The service region ID of the activities to load. |
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. |