IService..::..GetDebtor Method
Gets a single debtor, given the Debtor ID.
Namespace:
JiwaFinancials.Jiwa.JiwaWebService.WCFAssembly: JiwaWebService (in JiwaWebService.exe)
Syntax
[OperationContractAttribute] [WebGetAttribute] Debtor GetDebtor( string DebtorID )
<OperationContractAttribute> _ <WebGetAttribute> _ Function GetDebtor ( _ DebtorID As String _ ) As Debtor
[OperationContractAttribute] [WebGetAttribute] Debtor^ GetDebtor( String^ DebtorID )
Parameters
- DebtorID
- Type: String
The DebtorID.
Return Value
JiwaFinancials.Jiwa.JiwaDebtors.XML.DebtorExamples
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 debtor As JiwaWebServiceReference.Debtor1 = jiwaService.GetDebtor("0000000061000000001V") Console.WriteLine(debtor.Name) jiwaService.Logoff() jiwaService.Close()