You can query start requests using an optional filter.
For example, send an HTTP POST request to:
http://<hostname>:7000/node/rest/CA:00074_CA:00074:01/_ops/QueryStartRequests
Include a request header:
Content-Type=application/xml
For example:
<QueryStartRequestsRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="p1:QueryStartRequestsRequest"
xmlns:p1="http://ns.ca.com/2011/09/pam-ops" >
<Instance>SRF_1291</Instance>
<IsArchived>false</IsArchived>
</QueryStartRequestsRequest>
As the following example shows, the response from QueryStartRequests contains the start request instances:
<?xml version="1.0" encoding="utf-8"?>
<pam-ops:QueryStartRequestsResponse xmlns:pam-ops="http://ns.ca.com/2011/09/pam-ops"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="pam-ops:QueryStartRequestsResponse">
<StartRequestInstances>
<StartRequestInstance>
<Instance>SRF_1291</Instance>
<ProcessInstance>TestProcess_1292</ProcessInstance>
<State>Completed</State>
<Scheduled-time>2012-06-14T15:52:05.000Z</Scheduled-time>
<Start-time>2012-06-14T15:52:05.000Z</Start-time>
<End-time>2012-06-14T15:52:11.000Z</End-time>
</StartRequestInstance>
</StartRequestInstances>
</pam-ops:QueryStartRequestsResponse>
|
Copyright © 2014 CA.
All rights reserved.
|
|