You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > BusinessRules Class > BusinessRules Methods > GetBusinessRules Method > GetBusinessRules
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
BusinessRules.GetBusinessRules Method (string, string, string, string, string, string, string, string)

Method to get the results from a business rule by identifier. Accepts environmental parameters such as HTTPHost, URLString, Cookies, forms, etc. Returns a string representing the output of the evaluated ruleset. Identifier is a combination of the path/page/uniqueID of the business rules control. 

This method can be accessed through the BusinessRules.asmx file located in:

~/Workarea/webservices/WebServiceAPI/BusinessRules.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "GetBusinessRules by String RuleID", Description = "")]
public string GetBusinessRules(string httpHost, string urlRest, string cookies, string formValues, string queryValues, string serverValues, string paramValues, string RuleID);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetBusinessRules by String RuleID", Description = "")>
Public Function GetBusinessRules(httpHost As string, urlRest As string, cookies As string, formValues As string, queryValues As string, serverValues As string, paramValues As string, RuleID As string) As string
Parameters 
Description 
httpHost 
The HTTP host the request is made on. 
urlRest 
Not used. 
cookies 
Cookie Value Collection 
formValues 
Form Value Collection 
queryValues 
Querystring Value Collection 
serverValues 
Server Variables Collection 
paramValues 
Custom Value Collection 
RuleID 
String representing the identifier of the Ruleset. The identifier is a combination of the path/page/uniqueID of the business rules control. 

A string representing the output of the evaluated ruleset.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!