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, long)

Method to get the results from a business rule by ID. Accepts environmental parameters such as HTTPHost, URLString, Cookies, forms, etc. Returns a string representing the output of the evaluated ruleset. 

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 Int RuleID", Description = "")]
public string GetBusinessRules(string httpHost, string urlRest, string cookies, string formValues, string queryValues, string serverValues, string paramValues, long RuleID);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetBusinessRules By Int 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 long) 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 
Numeric value representing the ID of the Ruleset. 

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!