To hold (or suspend) a process, specify the process ID in the MdrElementID property.
For example, to hold a process, send an HTTP POST request to the following URL:
http://<hostname>:7000/node/rest/CA:00074_CA:00074:01/_ops/Hold
Include a request header:
Content-Type=application/xml
For example:
<HoldRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="p1:HoldRequest"
xmlns:p1="http://ns.ca.com/2011/09/pam-ops" >
<EntityID>
<MdrProduct/>
<MdrProdInstance/>
<MdrElementID>TestIRFPrompt_140</MdrElementID>
</EntityID>
</HoldRequest>
The request returns the following XML:
<usm-core:EntityID xmlns:usm-core="http://ns.ca.com/2009/07/usm-core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="usm-core:EntityID">
<usm-core:MdrProduct/>
<usm-core:MdrProdInstance/>
<usm-core:MdrElementID>TestIRFPrompt_140</usm-core:MdrElementID>
</usm-core:EntityID>
|
Copyright © 2014 CA.
All rights reserved.
|
|