To update the properties of a module, use the UpdateModuleConfigProperties function.
For example, send an HTTP POST request to:
http://<hostname>:7000/node/rest/CA:00074_CA:00074:01/_ops/UpdateModuleConfigProperties
Include a request header:
Content-Type=application/xml
For example:
<UpdateModuleConfigPropertiesRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="p1:UpdateModuleConfigPropertiesRequest"
xmlns:p1="http://ns.ca.com/2011/09/pam-ops" >
<ModuleName>WorkflowServices</ModuleName>
<Property>
<Name>TimeToKeepPrompts</Name>
<Value>4</Value>
<Type>Long</Type>
</Property>
</UpdateModuleConfigPropertiesRequest>
The response contains the updated module properties:
<?xml version="1.0" encoding="utf-8"?>
<pam-ops:UpdateModuleConfigPropertiesResponse
xmlns:pam-ops="http://ns.ca.com/2011/09/pam-ops"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="pam-ops:UpdateModuleConfigPropertiesResponse">
<Property>
<Name>TimeToKeepPrompts</Name>
<Value>4</Value>
<Type>Long</Type>
</Property>
</pam-ops:UpdateModuleConfigPropertiesResponse>
|
Copyright © 2014 CA.
All rights reserved.
|
|