Purpose
This page will help you to activate-deactivate rules in TCC via the console's REST/Swagger APIs.
Applicable Platform
AIP Platform | Yes/No |
---|---|
CAST AIP 8.3 |
AIP Console Version | Yes/No |
---|---|
AIP Console 2.x or greater |
Action Plan
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
The attribute value to be used is '1' to activate and '0' to deactivate the rule. ConfigRuleIds is the rule id number.
Delete Application QueriesWe 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 }
- Below is the example from the Postman:
- Below is the screenshot from the AIP Console TCC tab where we are activating and deactivating the rules.
- Refresh the Console URL in the browser to see the activation and deactivation changes you have done.
- 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..
Notes/comments
Ticket # 44954
Related Pages