RequestServicesManager..::..SaveRequest Method
Saves the request to database.
Namespace:
ServicePRO.Sdk.Windows.ManagersAssembly: ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)
Syntax
public void SaveRequest( string userSessionKey, stcRequest request, ObservableCollection<stcAttachmentFolder> documentFolders, ObservableCollection<stcAttachment> documents, ObservableCollection<stcUserFieldsTableValue> udfValues, ObservableCollection<stcFollowUp> reminders, stcQuickMessage quickMessage, DateTime quickMessageTime, int[] suggestedSolutions, stcRequest[] purchaseItems, stcTblTheProcessAllData templateDetails, clsEnumeration..::..UpdateRecurrenceItemPrompt updateRecurrenceType, Concurrency concurrencyLocker, stcMeetingRequestMessage mailmessage, ObservableCollection<stcAppointment> appointmentsMeetings, Action<stcRequest, Exception> callbackAction )
Public Sub SaveRequest ( _ userSessionKey As String, _ request As stcRequest, _ documentFolders As ObservableCollection(Of stcAttachmentFolder), _ documents As ObservableCollection(Of stcAttachment), _ udfValues As ObservableCollection(Of stcUserFieldsTableValue), _ reminders As ObservableCollection(Of stcFollowUp), _ quickMessage As stcQuickMessage, _ quickMessageTime As DateTime, _ suggestedSolutions As Integer(), _ purchaseItems As stcRequest(), _ templateDetails As stcTblTheProcessAllData, _ updateRecurrenceType As clsEnumeration..::..UpdateRecurrenceItemPrompt, _ concurrencyLocker As Concurrency, _ mailmessage As stcMeetingRequestMessage, _ appointmentsMeetings As ObservableCollection(Of stcAppointment), _ callbackAction As Action(Of stcRequest, 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.
- request
- Type: HelpSTAR.PCL.Common..::..stcRequest
The request data.
- documentFolders
- Type: ObservableCollection<(Of <(<'stcAttachmentFolder>)>)>
The collection of document folders.
- documents
- Type: ObservableCollection<(Of <(<'stcAttachment>)>)>
The collection of documents.
- udfValues
- Type: ObservableCollection<(Of <(<'stcUserFieldsTableValue>)>)>
The collection of user defined field values.
- reminders
- Type: ObservableCollection<(Of <(<'stcFollowUp>)>)>
The collection of reminders.
- quickMessage
- Type: HelpSTAR.PCL.Common..::..stcQuickMessage
The quick message.
- quickMessageTime
- Type: DateTime
The quick message time information.
- suggestedSolutions
- Type: array<Int32>[]()[][]
The collection of suggested solutions.
- purchaseItems
- Type: array<stcRequest>[]()[][]
The collection of purchase items.
- templateDetails
- Type: HelpSTAR.Hybrid.Common..::..stcTblTheProcessAllData
The template details.
- updateRecurrenceType
- Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..UpdateRecurrenceItemPrompt
Option of the update on recurrence.
- concurrencyLocker
- Type: HelpSTAR.PCL.Common..::..Concurrency
The concurrency locker option.
- mailmessage
- Type: HelpSTAR.PCL.Common..::..stcMeetingRequestMessage
The mail message data.
- appointmentsMeetings
- Type: ObservableCollection<(Of <(<'stcAppointment>)>)>
The collection of appointment meetings.
- callbackAction
- Type: Action<(Of <(<'stcRequest, Exception>)>)>
The callback action.