CoreServicesManager..::..GetAppointments Method
Gets collection of the appointments.
Namespace:
ServicePRO.Sdk.Windows.ManagersAssembly: ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)
Syntax
public void GetAppointments( string userSessionKey, DateTime startDate, DateTime endDate, Action<ObservableCollection<stcAppointment>, Exception> callbackAction )
Public Sub GetAppointments ( _ userSessionKey As String, _ startDate As DateTime, _ endDate As DateTime, _ callbackAction As Action(Of ObservableCollection(Of stcAppointment), Exception) _ )
Parameters
- userSessionKey
- Type: String
User’s Session Key.
Key property of the User Session Object of type stcSession.
The User Session has to be established by making a call to InitializeSystemAndSession() method in CoreServicesManager class as a first step with using ServicePRO SDK.
- startDate
- Type: DateTime
The start date.
- endDate
- Type: DateTime
The end date.
- callbackAction
- Type: Action<(Of <(<'ObservableCollection<(Of <(<'stcAppointment>)>)>, Exception>)>)>
The callback action.