On Cisco Unified CCX Administration I have a Application called "ContactCenterMainTest". My URL to that application is https://myserver/appadmin/App?request_type=configure&appname=ContactCenterMainTest&apptype=Cisco+Script+Application. The Application has a variable with a type "parameter" that now shows up on the interface. I want to be able to modify this with the API. Here is what I thought I should do:
https://myserver/adminapi/application/ContactCenterMainTest
<?xml version="1.0" encoding="UTF-8"?>
<application>
<ScriptApplication>
<script>SCRIPT[IEEEContactCenterMain_03_2012.aef]</script>
<scriptParams>
<name>cfgVarsVar_CenterClosed_Holiday</name>
<value>false</value>
<type>java.lang.Boolean</type>
</scriptParams>
</ScriptApplication>
<id>5</id>
<applicationName>ContactCenterMainTest</applicationName>
<type>Cisco Script Application</type>
<description>ContactCenterMain</description>
<maxsession>80</maxsession>
<enabled>true</enabled>
</application>
The <maxsession> actually works. I see that change. This is the name of my variable "cfgVarsVar_CenterClosed_Holiday". When I send this it has no effect. I'm guessing that what I am trying to update is not a scriptParam. Does anyone know if there is a way with the API to update variables that were added to the script associated with the Application?