IService..::..GetChangedDebtors Method
Gets the debtors which have changed since the provided date.
Namespace:
JiwaFinancials.Jiwa.JiwaWebService.WCFAssembly: JiwaWebService (in JiwaWebService.exe)
Syntax
[OperationContractAttribute] [WebGetAttribute] List<Debtor> GetChangedDebtors( DateTime StartDate )
<OperationContractAttribute> _ <WebGetAttribute> _ Function GetChangedDebtors ( _ StartDate As DateTime _ ) As List(Of Debtor)
[OperationContractAttribute] [WebGetAttribute] List<Debtor^>^ GetChangedDebtors( DateTime^ StartDate )
Parameters
- StartDate
- Type: DateTime
Any debtors changed at or after this date will be returned.
Return Value
System.Collections.Generic.List(Of JiwaFinancials.Jiwa.JiwaDebtors.XML.Debtor)Examples
VB.NET
Dim binding As System.ServiceModel.WSHttpBinding = New System.ServiceModel.WSHttpBinding() binding.MaxReceivedMessageSize = 50000000 binding.ReaderQuotas.MaxArrayLength = 50000000 binding.ReaderQuotas.MaxStringContentLength = 50000000 Dim jiwaService As JiwaWebServiceReference.ServiceClient = New JiwaWebServiceReference.ServiceClient(binding, New ServiceModel.EndpointAddress("http://localhost:8001/jiwa7/services/7.0")) jiwaService.Logon("Admin", "password") Dim debtors As List(Of JiwaWebServiceReference.Debtor1) = jiwaService.GetChangedDebtors("2014-01-29") For Each item As JiwaWebServiceReference.Debtor1 In debtors Console.WriteLine(item.Name) Next jiwaService.Logoff() jiwaService.Close()