@Component
public class RulesRest
extends java.lang.Object
| Constructor and Description |
|---|
RulesRest() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
deRegisterRulesInRulesEngine(int studyid,
RulesList rulesList)
This Restful Web Service takes two query parameters studyid and List
|
public java.lang.String deRegisterRulesInRulesEngine(int studyid,
RulesList rulesList)
This Restful Web Service takes two query parameters studyid and ListThis is used to de-Register the given rules in rulesEngine RestFul End Point URI: http://host:port/PhoneAppService/rest/RulesRest/deRegisterRulesInRulesEngine REQUEST TYPE: GET
studyid - - studyidList - - rulesList
-onSuccess - deRegister the given rules in rulesEngine and return (code=200,message="ok")
- If any exception occurs- returns json object with fields (code=500, message="error")