AIP Console - Information - V2 - How to activate or deactivate rules in TCC via the console's REST Swagger APIs

 

This page will help you to activate-deactivate rules in TCC via the console's REST/Swagger APIs.

 

 

AIP Platform

Yes/No

CAST AIP 8.3 (tick) 

 

AIP Console Version Yes/No
AIP Console 2.x or greater (tick)

 

 

The below API we can call from any API platform: The application_guid below usually can be seen in the console URL for application actions.

You can also get it from : AIP Console - Information - V2 - How to get an application GUID for an application AIP Console

 

  1.  The attribute value to be used is '1' to activate and '0' to deactivate the rule. ConfigRuleIds is the rule id number.

    We can activate and deactivate the rules one by one using API:
     
    PUT method
     
    http://<hostname>:<Port>/api/applications/<app_guid>/function-points/configuration-rules/
     
    Body:   
     
    {
    "configRuleIds": [
      
    ],
    "attributeName": "activation",
    "attributeValue": 1
    }
     
     
    example:
     
    {
    "configRuleIds": [
      310
    ],
    "attributeName": "activation",
    "attributeValue": 1
    }
     
    
    
    
    

     

    1. Below is the example from the Postman:image-2023-12-22_14-35-41.png
    2. Below is the screenshot from the AIP Console TCC tab where we are activating and deactivating the rules.image-2023-12-22_14-38-1.png
  2.  Refresh the Console URL in the browser to see the activation and deactivation changes you have done.
  3. If the problem you are facing does not match any case listed in this page, report your problem to CAST Technical Support and provide the below Relevant input for CAST Technical Support to reproduce the issue.

 

Ticket # 44954

 

AIP Console - Interactive API documentation#apikey

 

Have more questions? Submit a request

Comments

Powered by Zendesk