public class CATfXService
extends java.lang.Object
Constructor and Description |
---|
CATfXService() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
callCAT(java.lang.String userName,
java.lang.String password,
java.lang.String outputFormat,
java.lang.String catName,
java.lang.String json,
java.lang.String catProfileName)
Method used to call or execute the existing AMM CAT Templates for the specified catName.
|
public java.lang.String callCAT(java.lang.String userName, java.lang.String password, java.lang.String outputFormat, java.lang.String catName, java.lang.String json, java.lang.String catProfileName)
Method used to call or execute the existing AMM CAT Templates for the specified catName.
Specification of catName and catProfileName are mandatory.
catName can be any name from the existing CAT TEMPLATES of AMM. catProfileName is the name of the profile.
In case if no profile is present, "Default" catProfileName is to be specified.
JSON string is used for values to be passed or used in Templates, in the form of KEY and VALUE.
where KEY represents catOptionName and Value represents the real Value which the Option holds.
outputFormat can be either JSON or XML.
If outputFormat is not specified, by default the method will return the JSON String.
catName
- Stringjson
- StringcatProfileName
- StringuserName
- Stringpassword
- StringoutputFormat
- String - JSON OR XML