You are here: Discussion Register  |  Login
 
Discussion Forums
 
ForumForumGateway Web Ser...Gateway Web Ser...ServicesServicesHow do I get a list of a customer’s available services?How do I get a list of a customer’s available services?
Disabled 
Previous
 
Next Next
New Post
 6/25/2009 11:33 PM
 
 Modified By Kevin Lenahan  on 6/27/2009 12:05:48 AM

You may want to build a list of available services for the customer in order for the user to choose which services can be added to a profile.

Here is an example of how you would get a customer’s available services:
 
/* Get a reference to the web service */
using (GatewaySample.net.clearstar.gateway.service.Service gwService = new GatewaySample.net.clearstar.gateway.service.Service())
{
/* Get the list of available services for a customer. */
XmlNode nodeService = gwService.GetServices("myUserName", "myPassword", myBOID, "myCustID");
}
 
Successful XML response would be:
 
<GetServices xmlns="">
<ErrorStatus>
<Code>0</Code><Type></Type><Message></Message>
</ErrorStatus>
<Service>
<sServiceNo> myCustID_00001</sServiceNo>
<sServiceName>1000: myCustID Criminal</sServiceName>
<sCustomServiceName> myCustID Federal Criminal</sCustomServiceName>
<sCharge>10.00</sCharge>
<bIsPackage>false</bIsPackage>
<bIsSelected>false</bIsSelected>
<sType>S</sType>
<bIsSuspended>false</bIsSuspended>
<bVisible>true</bVisible>
<sHelpNote>Federal criminal search includes every court house in the country of ABC. No Records are obtained in 48 hour turnaround, Searchs that are flagged can be up to 72 hours.</sHelpNote>
<bIsMultiLoc>false</bIsMultiLoc>
<sPageName />
</Service>
<Service>
<sServiceNo> myCustID_00002</sServiceNo>
<sServiceName>1000: myCustID Trace</sServiceName>
<sCustomServiceName> myCustID Trace</sCustomServiceName>
<sCharge>10.00</sCharge>
<bIsPackage>false</bIsPackage>
<bIsSelected>true</bIsSelected>
<sType>S</sType>
<bIsSuspended>false</bIsSuspended>
<bVisible>true</bVisible>
<sHelpNote />
<bIsMultiLoc>false</bIsMultiLoc>
<sPageName />
</Service>
</GetServices>

 

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

Disabled 
Previous
 
Next Next
ForumForumGateway Web Ser...Gateway Web Ser...ServicesServicesHow do I get a list of a customer’s available services?How do I get a list of a customer’s available services?

 

Privacy Statement  |  Terms Of Use
Copyright 2011 by ClearStar, Inc.