developer:soap-1.3:methods:disablecustomer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
developer:soap-1.3:methods:disablecustomer [2010/06/02 09:10]
hmcgowan created
developer:soap-1.3:methods:disablecustomer [2010/10/07 16:21]
irina
Line 68: Line 68:
 </​code>​ </​code>​
  
 +==== .NET VB ====
 +<code vb>
 +Dim custNum As String
 +        custNum = "​103125"​
 + 
 +        Dim response As Boolean
 +        response = client.disableCustomer(token,​ custNum)
 +        MsgBox(response)
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +string custNum = "​89147";​
 +
 +            Boolean response;
 +
 +            try
 +            {
 +                response = client.disableCustomer(token,​ custNum);
 +                if (response)
 +                {
 +                    MessageBox.Show(string.Concat("​Succesfull"​));​
 +                }
 +                else MessageBox.Show(string.Concat("​Error!"​));​
 +            }
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +
 +</​code>​
developer/soap-1.3/methods/disablecustomer.txt ยท Last modified: 2010/10/07 16:21 by irina

Page Tools