You are here: Discussion Register  |  Login
 
Discussion Forums
 
ForumForumGateway Web Ser...Gateway Web Ser...CustomersCustomersHow do I suspend a customer?How do I suspend a customer?
Previous Previous
 
Next
 Disabled
New Post
 6/26/2009 11:11 PM
 
 Modified By Kevin Lenahan  on 6/27/2009 12:03:55 AM
The customer can be suspended with the SuspendCustomer method in the Customer web service.   For instance you may want to integrate your customer service or accounting system to suspend a customer in the ClearStar.net system when the third party system deactivates the customer. 
Here is an example of how you could suspend a customer:
 
/* Get a reference to the web service */
using (GatewaySample.net.clearstar.gateway.customer.Customer gwCustomer = new GatewaySample.net.clearstar.gateway.customer.Customer())
{
 
 /* Suspend Customer */
XmlNode nodeCustomer = gwCustomer.SuspendCustomer("myUserName", "myPassword", myBOID, "myCustID”);
}
 
XML Response:
 
<SuspendCustomer xmlns="">
<ErrorStatus>
<Code></Code>
<Type></Type>
<Message></Message>
</ErrorStatus>
<Customer>
<sCustID></sCustID>
<bSuspended><bSuspended>
</Customer>
</SuspendCustomer>
 

Additional information is provided in the documentation and more example code is provided in the Gateway Sample application.

Previous Previous
 
Next
 Disabled
ForumForumGateway Web Ser...Gateway Web Ser...CustomersCustomersHow do I suspend a customer?How do I suspend a customer?

 

Privacy Statement  |  Terms Of Use
Copyright 2009 by ClearStar.net