<?xml version="1.0"?><rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Other Web Services</title><link>http://developer.clearstar.net/Discussion/tabid/55/forumid/7/scope/threads/Default.aspx</link><description>Working with methods on the other Gateway Web Service, including Invoices, Lookup, Orders, and Users.</description><pubDate>2010-09-10T21:06:14Z</pubDate><lastBuildDate>2009-06-27T03:34:58Z</lastBuildDate><ttl>30</ttl><item><title>User Web Service Methods</title><pubDate>2009-06-27T02:40:56Z</pubDate><author>Kevin Lenahan</author><link>http://developer.clearstar.net/Discussion/tabid/55/forumid/7/threadid/14/scope/posts/Default.aspx</link><description>&lt;p&gt;The User web service contains methods that provide access to User data and related information.&lt;/p&gt;
&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;strong&gt;URL:&lt;/strong&gt;&amp;#160;&lt;a href="https://gateway.clearstar.net/CSGWUser/User.asmx"&gt;&lt;font color="#0000ff"&gt;https://gateway.clearstar.net/CSGWUser/User.asmx&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;strong&gt;Sample Code:&lt;/strong&gt; controls/AuthControl.aspx&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;AddCustomerAccess &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Adds access to customer for user.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;AuthorizeUser &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;This method is used to verify that the User is authorized to access the given Customer account. It returns an indicator that specifies whether sLoginName is authorized for the sCustID being passed in. The &lt;i&gt;bAuthorized &lt;/i&gt;node will be set to &lt;i&gt;true &lt;/i&gt;if LoginName is authorized for customer or &lt;i&gt;false &lt;/i&gt;if LoginName is not authorized.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;CreateUser &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Creates a User with the given information and returns information about the newly created User. If the &lt;i&gt;bUserCreated &lt;/i&gt;element is ‘true’, the User was successfully created.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;EditUser&lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Edits a User with the given information. If the &lt;i&gt;bUpdated &lt;/i&gt;element is ‘true’, the User was successfully updated.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;GetUserDetail &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Returns detailed information for the given sLoginName.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;GetUsers&lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Returns a list of the users associated with the sCustID passed in. The Xml Response may contain multiple &lt;i&gt;User &lt;/i&gt;nodes.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;GetUsersByType (*)&lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Returns a list of the users associated with the sCustID passed in for the requested user type. The Xml Response may contain multiple &lt;i&gt;User &lt;/i&gt;nodes.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;RemoveCustomerAccess &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Removes access to customer for user.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;SuspendUser &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Suspends the user.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;UpdatePassword &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;This method will change the password of the given user. It returns an indicator that specifies whether the password has been updated. The &lt;i&gt;bPasswordChanged &lt;/i&gt;node will be set to &lt;i&gt;true &lt;/i&gt;if Password is changed for LoginName or &lt;i&gt;false &lt;/i&gt;if Password is not changed.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;cite&gt;&amp;#160;&lt;/cite&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;cite&gt;&lt;span style="color: black"&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;cite&gt;&lt;span style="color: black"&gt;Additional information, including each methods response XML structure, is provided in the documentation and more example code is provided in the Gateway Sample application.&lt;/span&gt;&lt;/cite&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/cite&gt;&lt;/div&gt;</description></item><item><title>Lookup Web Service Methods</title><pubDate>2009-06-27T02:28:58Z</pubDate><author>Kevin Lenahan</author><link>http://developer.clearstar.net/Discussion/tabid/55/forumid/7/threadid/13/scope/posts/Default.aspx</link><description>&lt;p&gt;The Lookup web service contains methods that provide access to data that is primarily used for field validation or to populate GUI elements (e.g., state dropdown list).&lt;/p&gt;
&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;strong&gt;URL:&lt;/strong&gt;&amp;#160;&lt;a href="https://gateway.clearstar.net/CSGWLookup/Lookup.asmx"&gt;&lt;font color="#0000ff"&gt;https://gateway.clearstar.net/CSGWLookup/Lookup.asmx&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;strong&gt;Sample Code:&lt;/strong&gt; lookups.aspx&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;GetLocationsForCity &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Returns the locations that are valid for the given Country, State and City combination. There will be one County element returned for each related &lt;i&gt;County &lt;/i&gt;and one &lt;i&gt;ZipCode &lt;/i&gt;element for each related Zip Code.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;GetLocationsForCountry &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Returns the States, Counties, Cities and Zip Codes that are valid for the given Country. There will be one &lt;i&gt;Location &lt;/i&gt;element returned for each related Location (State, County, City and Zip Code combination).&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;GetLocationsForCounty &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Returns the locations that are valid for the given Country, State and County combination. There will be one &lt;i&gt;City &lt;/i&gt;element returned for each related City and one &lt;i&gt;ZipCode &lt;/i&gt;element for each related Zip Code.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;GetLocationsForState&lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;&amp;#160;&lt;/b&gt;Returns the locations that are valid for the given Country and State combination. There will be one &lt;i&gt;County &lt;/i&gt;element returned for each related County, one &lt;i&gt;City &lt;/i&gt;element returned for each related City, and one &lt;i&gt;ZipCode &lt;/i&gt;element for each related Zip Code.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;GetLocationsForZipCode &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Returns the locations that are valid for the given Country and Zip Code combination. There will be one &lt;i&gt;State &lt;/i&gt;element returned for each related State, one &lt;i&gt;County &lt;/i&gt;element returned for each related County, one &lt;i&gt;City &lt;/i&gt;element returned for each related City, and one &lt;i&gt;ZipCode &lt;/i&gt;element for each related Zip Code.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;cite&gt;&amp;#160;&lt;/cite&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;cite&gt;&lt;span style="color: black"&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;cite&gt;&lt;span style="color: black"&gt;Additional information, including each methods response XML structure, is provided in the documentation and more example code is provided in the Gateway Sample application.&lt;/span&gt;&lt;/cite&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/cite&gt;&lt;/div&gt;</description></item><item><title>Order Web Service Methods </title><pubDate>2009-06-26T21:06:28Z</pubDate><author>Kevin Lenahan</author><link>http://developer.clearstar.net/Discussion/tabid/55/forumid/7/threadid/12/scope/posts/Default.aspx</link><description>&lt;p&gt;The Order web service contains methods that provide access to Order data and related information.&lt;/p&gt;
&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;strong&gt;URL:&lt;/strong&gt;&amp;#160;&amp;#160;&lt;a href="https://gateway.clearstar.net/CSGWOrder/Order.asmx"&gt;&lt;font color="#0000ff"&gt;https://gateway.clearstar.net/CSGWOrder/Order.asmx&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;GetOrderFields &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Returns a list of the OrderFields with their values and the Supplier special instructions for the sProfNo and iOrderID passed in. The XML response may contain multiple &lt;i&gt;OrderField &lt;/i&gt;nodes.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;GetOrderResults &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Returns the results for an Order.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;GetOrderStatusDetail &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Returns the status detail notes (Supplier to Business Owner and Business Owner to Customer) for an Order. The &lt;i&gt;sSrcStatusDetail &lt;/i&gt;element contains the status detail notes from the Supplier for the Business Owner. The &lt;i&gt;sBOStatusDetail &lt;/i&gt;element contains the status detail notes from the Business Owner for the Customer.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;SearchOrders &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Returns a list of Orders for BOID that match search criteria. The XML response may contain multiple &lt;i&gt;Order &lt;/i&gt;nodes.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;cite&gt;&amp;#160;&lt;/cite&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;cite&gt;&lt;span style="color: black"&gt;Additional information, including each methods response XML structure, is provided in the documentation.&lt;/span&gt;&lt;/cite&gt;&lt;/div&gt;</description></item><item><title>Invoice Web Service Methods</title><pubDate>2009-06-26T20:53:44Z</pubDate><author>Kevin Lenahan</author><link>http://developer.clearstar.net/Discussion/tabid/55/forumid/7/threadid/11/scope/posts/Default.aspx</link><description>&lt;p&gt;The Invoice web service contains methods that provide access to Invoice data and related information.&lt;/p&gt;
&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;strong&gt;URL:&lt;/strong&gt;&amp;#160;&amp;#160;&lt;a href="https://gateway.clearstar.net/CSGWInvoice/Invoice.asmx"&gt;&lt;font color="#0000ff"&gt;https://gateway.clearstar.net/CSGWInvoice/Invoice.asmx&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;Sample Code:&amp;#160;&lt;/b&gt;invoices.aspx&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style="margin: 0in 0in 0pt"&gt;&lt;strong&gt;GetInvoiceDetail&lt;/strong&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Returns the detailed Invoice information, including related transactions (i.e., payments or adjustments), for the iInvoiceNo passed in. There will be a &lt;i&gt;Transaction &lt;/i&gt;element (could be 0, 1 or more) for each related Transaction.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;GetInvoiceReport &lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Returns a byte array containing the Invoice Report for the iInvoiceNo passed in.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;GetInvoices&lt;/b&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;Returns a list of Invoices for the sCustID passed in. The XML response may contain multiple &lt;i&gt;Invoice &lt;/i&gt;nodes.&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;cite&gt;&lt;span style="color: black"&gt;Additional information, including each methods response XML structure, is provided in the documentation and more example code is provided in the Gateway Sample application.&lt;/span&gt;&lt;/cite&gt;&lt;/div&gt;</description></item><item><title>Overview of the Additional Available Web Services</title><pubDate>2009-06-26T03:50:40Z</pubDate><author>Kevin Lenahan</author><link>http://developer.clearstar.net/Discussion/tabid/55/forumid/7/threadid/9/scope/posts/Default.aspx</link><description>&lt;p&gt;Although a few web services received a dedicated forum, the remaining web services are combined here in a single forum.&amp;#160;The web services contained in the forum are not less valuable, but are typically received fewer calls.&amp;#160;Below is the list of additional web services discussed within this forum.&amp;#160; Additional information on the web services can be found in the documentation.&lt;/p&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;Invoice Web Service&lt;/b&gt; - The Invoice web service contains methods that provide access to Invoice data and related information&lt;/div&gt;
&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;URL: &lt;a href="https://gateway.clearstar.net/csgwinvoice/invoice.asmx"&gt;&lt;font color="#0000ff"&gt;https://gateway.clearstar.net/csgwinvoice/invoice.asmx&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;Lookup Web Service&lt;/b&gt; - The Lookup web service contains methods that provide access to data that is primarily used for field validation or to populate GUI elements (e.g., state dropdown list).&lt;/div&gt;
&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;URL: &lt;a href="https://gateway.clearstar.net/csgwlookup/lookup.asmx"&gt;&lt;font color="#0000ff"&gt;https://gateway.clearstar.net/csgwlookup/lookup.asmx&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;Order Web Service&lt;/b&gt; - The Order web service contains methods that provide access to Order data and related information.&lt;/div&gt;
&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;URL: &lt;a href="https://gateway.clearstar.net/csgworder/order.asmx"&gt;&lt;font color="#0000ff"&gt;https://gateway.clearstar.net/csgworder/order.asmx&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&lt;b&gt;User Web Service&lt;/b&gt; - The User web service contains methods that provide access to User data and related information.&lt;/div&gt;
&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;URL: &lt;a href="https://gateway.clearstar.net/csgwuser/user.asmx"&gt;&lt;font color="#0000ff"&gt;&lt;a href="https://gateway.clearstar.net/csgwuser/user.asmx"&gt;https://gateway.clearstar.net/csgwuser/user.asmx&lt;/a&gt;&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 10pt"&gt;&amp;#160;&lt;/div&gt;
&lt;/blockquote&gt;</description></item><item><title>How do I retrieve all the users associated with a customer?</title><pubDate>2009-06-27T03:34:58Z</pubDate><author>Kevin Lenahan</author><link>http://developer.clearstar.net/Discussion/tabid/55/forumid/7/threadid/17/scope/posts/Default.aspx</link><description>&lt;p&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;A list of users associated with a customer can be retrieved with the GetUsers method in the User web service.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;Here is an example of how you could retrieve a list of users for a customer:&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&amp;#160;&lt;/div&gt;
&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;/* Get a reference to the web service */&lt;br /&gt;
using (GatewaySample.net.clearstar.gateway.user.User gwUser = new GatewaySample.net.clearstar.gateway.user.User())&lt;br /&gt;
{&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;/* Get Users */&lt;br /&gt;
XmlNode nodeUser = gwUser.GetUsers("myUserName", "myPassword", myBOID, "myCustID”);&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;XML Response:&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;SuspendUser xmlns=""&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;ErrorStatus&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Code&amp;gt;&amp;lt;/Code&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Type&amp;gt;&amp;lt;/Type&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Message&amp;gt;&amp;lt;/Message&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;#160;&amp;lt;/ErrorStatus&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;User&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;iWebUserID&amp;gt;&amp;lt;/iWebUserID&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;bSuspended&amp;gt;&amp;lt;bSuspended&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/User&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/SuspendUser&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px"&gt;&amp;#160;&lt;/div&gt;
&lt;p class="Default" style="margin: 0in 0in 0pt"&gt;&lt;em&gt;&lt;span style="font-size: 8.5pt; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Additional information is provided in the documentation and more example code is provided in the Gateway Sample application.&lt;/span&gt;&lt;/em&gt;&lt;span style="font-size: 8.5pt; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;p class="Default" style="margin: 0in 0in 0pt 40px"&gt;&lt;em&gt;&lt;span style="font-size: 8.5pt; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Note: The sUserName passed in must be for a Customer Admin or BO Admin user. &lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p class="Default" style="margin: 0in 0in 0pt 40px"&gt;&amp;#160;&lt;/p&gt;</description></item><item><title>How do I suspend a user?</title><pubDate>2009-06-27T03:20:07Z</pubDate><author>Kevin Lenahan</author><link>http://developer.clearstar.net/Discussion/tabid/55/forumid/7/threadid/16/scope/posts/Default.aspx</link><description>&lt;div style="margin: 0in 0in 10pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;A user can be suspended with the SuspendUser method in the User web service. &amp;#160;&amp;#160;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;Here is an example of how you could suspend a user:&lt;/span&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;/* Get a reference to the web service */&lt;br /&gt;
using (GatewaySample.net.clearstar.gateway.user.User gwUser = new GatewaySample.net.clearstar.gateway.user.User())&lt;br /&gt;
{&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;/* Suspend&amp;#160;User */&lt;br /&gt;
XmlNode nodeUser = gwUser.SuspendUser("myUserName", "myPassword", myBOID, "myCustID”, iWebUserID);&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;Successful XML response would be:&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt; line-height: normal"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;SuspendUser xmlns=""&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;ErrorStatus&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Code&amp;gt;&amp;lt;/Code&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Type&amp;gt;&lt;/span&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/Type&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Message&amp;gt;&amp;lt;/Message&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/ErrorStatus&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;User&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 8.5pt"&gt;iWebUserID&amp;gt;&amp;lt;/iWebUserID&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 120px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;bSuspended&amp;gt;&amp;lt;bSuspended&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/User&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/SuspendUser&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px"&gt;&amp;#160;&lt;/div&gt;
&lt;p class="Default" style="margin: 0in 0in 0pt"&gt;&lt;em&gt;&lt;span style="font-family: Tahoma"&gt;&lt;span style="font-size: 8.5pt"&gt;Additional information is provided in the documentation and more example code is provided in the Gateway Sample application.&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span style="font-size: 8.5pt; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How can I tell if a user is authorized to access a customer?</title><pubDate>2009-06-26T02:43:08Z</pubDate><author>Kevin Lenahan</author><link>http://developer.clearstar.net/Discussion/tabid/55/forumid/7/threadid/7/scope/posts/Default.aspx</link><description>&lt;p&gt;Before accessing a customer’s information, you may want to check to see if a user is authorized to access the customer.&amp;#160;All gateway methods check to ensure the supplied username has the necessary access with attempting to access data.&amp;#160;Based on the business case a separate check before making a series of calls could be beneficial. &amp;#160;&lt;/p&gt;
&lt;div&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;Here is an example of how you check a user’s authorization for a customer:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin-left: 30pt"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;/* Get a reference to the web service */&lt;br /&gt;
using (GatewaySample.net.clearstar.gateway.user.User gwService = new GatewaySample.net.clearstar.gateway.user.User())&lt;br /&gt;
{&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-left: 30pt"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin-left: 60pt"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;/* Check user authorization for a customer. */&lt;br /&gt;
XmlNode nodeUser = gwUser.AuthorizeUser("myUserName", "myPassword", myBOID, “LoginNameToCheck”, “LoginPassword”,"myCustID");&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-left: 60pt"&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin-left: 30pt"&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&amp;#160;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size: 8.5pt; color: black"&gt;XML Response:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&amp;#160;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;AuthorizeUser xmlns=""&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;ErrorStatus&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Code&amp;gt;&amp;lt;/Code&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Type&amp;gt;&amp;lt;/Type&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;Message&amp;gt;&amp;lt;/Message&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/ErrorStatus&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;User&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;sFirstName&amp;gt;&amp;lt;/sFirstName&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;sLastName&amp;gt;&amp;lt;/sLastName&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 80px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;bAuthorized&amp;gt;&amp;lt;/bAuthorized&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px; text-indent: 0.5in"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/User&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt 40px"&gt;&lt;span style="font-size: 8.5pt"&gt;&amp;lt;/AuthorizeUser&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;p class="Default" style="margin: 0in 0in 0pt"&gt;&amp;#160;&lt;/p&gt;
&lt;p class="Default" style="margin: 0in 0in 0pt"&gt;&lt;em&gt;&lt;span style="font-size: 8.5pt; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Additional information is provided in the documentation and more example code is provided in the Gateway Sample application.&lt;/span&gt;&lt;/em&gt;&lt;span style="font-size: 8.5pt; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>