Rules APIs
Description: APIs to Get or Set Information corresponding to the Algorithms in iFoundry.
| 
                                                         S.No  | 
                                                    
                                                         Category  | 
                                                    
                                                         Name  | 
                                                    
                                                         Method  | 
                                                    
                                                         Description  | 
                                                    
                                                         Link  | 
                                                
|---|---|---|---|---|---|
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Manage Rule  | 
                                                    
                                                         POST  | 
                                                    
                                                         Handles requests to save Algorithm definition details.  | 
                                                    
                                                         /api/Rules/ManageRule  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Manage Rule Data  | 
                                                    
                                                         POST  | 
                                                    
                                                         Handles requests to save Algorithm data 
  | 
                                                    
                                                         
  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Manage Form Rule Data  | 
                                                    
                                                         POST  | 
                                                    
                                                         Handles requests to save form rules in the database 
  | 
                                                    
                                                         /api/Rules/ManageFormRuleData  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Get Rule  | 
                                                    
                                                         GET  | 
                                                    
                                                         Handles requests to edit the algorithm.  | 
                                                    
                                                         /api/Rules/GetRule  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Get Rules  | 
                                                    
                                                         GET  | 
                                                    
                                                         Handles requests to fetch the list of rules to invoke in the pricer. 
  | 
                                                    
                                                         /api/Rules/GetRules  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Get Blocks  | 
                                                    
                                                         GET  | 
                                                    
                                                         Handles requests to fetch the list of blocks in the algorithm builder. 
  | 
                                                    
                                                         /api/Rules/GetBlocks  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Get Xpath Value  | 
                                                    
                                                         POST  | 
                                                    
                                                         Handles requests to fetch the attributes into the expressions from out of context. 
  | 
                                                    
                                                         /api/Rules/GetXpathValue  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Get Block  | 
                                                    
                                                         GET  | 
                                                    
                                                         Handles requests to fetch a particular block information from the database in the builder. 
  | 
                                                    
                                                         /api/Rules/GetBlock  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         functions  | 
                                                    
                                                         GET  | 
                                                    
                                                         Handles requests to fetch the list of functions from the database into the algorithm builder. 
  | 
                                                    
                                                         /api/Rules/functions/system  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Get Globalvariables  | 
                                                    
                                                         GET  | 
                                                    
                                                         Handles requests to fetch the list of local/global variables into the algorithm. 
  | 
                                                    
                                                         /api/Rules/GetGlobalvariables  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Insert Globalvariables  | 
                                                    
                                                         POST  | 
                                                    
                                                         Handles requests to insert the global variables into the database 
  | 
                                                    
                                                         
  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Delete GlobalVariables  | 
                                                    
                                                         DELETE  | 
                                                    
                                                         Handles requests to delete the global variables into the database 
  | 
                                                    
                                                         /api/Rules/DeleteGlobalVariables  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         operators  | 
                                                    
                                                         GET  | 
                                                    
                                                         Handles requests to fetch the list of operators from the database in the algorithm builder. 
  | 
                                                    
                                                         /api/Rules/operators  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Custom Functions  | 
                                                    
                                                         GET  | 
                                                    
                                                         Handles requests to fetch the list of custom functions from the database in the algorithm builder. 
  | 
                                                    
                                                         /api/Rules/CustomFunctions  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Get Work Spaces Having Tables  | 
                                                    
                                                         GET  | 
                                                    
                                                         Handles requests to fetch the list of workspaces which has rate tables in the change events from the database. 
  | 
                                                    
                                                         /api/Rules/GetWorkSpacesHavingTables  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Get Block Used Info  | 
                                                    
                                                         GET  | 
                                                    
                                                         Handles requests to fetch the where used information of the block. 
  | 
                                                    
                                                         /api/Rules/GetBlockUsedInfo  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Get Change Events By Table Type  | 
                                                    
                                                         GET  | 
                                                    
                                                         Handles requests to fetch the list of change events which has the rate table / lookup table.  | 
                                                    
                                                         /api/Rules/GetChangeEventsByTableType  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Verify Logic  | 
                                                    
                                                         POST  | 
                                                    
                                                         Handles requests to verify the expressions computed in the algorithm builder. 
  | 
                                                    
                                                         /api/Rules/VerifyLogic  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Get Algorithms List  | 
                                                    
                                                         GET  | 
                                                    
                                                         Handles requests to fetch the list of algorithms from the database. 
  | 
                                                    
                                                         
  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Get Form Rule Attachments  | 
                                                    
                                                         GET  | 
                                                    
                                                         Handles requests to fetch the list of rule attachments in the form rule builder. 
  | 
                                                    
                                                         /api/Rules/GetFormRuleAttachments  | 
                                                
| 
                                                         | 
                                                    
                                                         Rules  | 
                                                    
                                                         Insert Where used For Workspaces  | 
                                                    
                                                         GET  | 
                                                    
                                                         Handles request to see where the workspaces are used across the model 
  | 
                                                    
                                                         /api/Rules/InsertWhereusedForWorkspaces  |