Previous Topic: DequeueStartRequestNext Topic: Task REST Operations Examples


AbortStartRequest

Use AbortStartRequest to end a running start request.

For example, send an HTTP POST request to:

http://<hostname>:7000/node/rest/CA:00074_CA:00074:01/_ops/AbortStartRequest

Include a request header:

Content-Type=application/xml

For example:

<AbortStartRequestRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                          xsi:type="p1:AbortStartRequestRequest"
                          xmlns:p1="http://ns.ca.com/2011/09/pam-ops">
  <Instance>SRF_1_38</Instance>
</AbortStartRequestRequest>

The following example shows the AbortStartRequest response:

<?xml version="1.0" encoding="utf-8"?>
<pam-ops:AbortStartRequestResponse xmlns:pam-ops="http://ns.ca.com/2011/09/pam-ops"
                                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                   xsi:type="pam-ops:AbortStartRequestResponse">
  <StartRequestInstance>
    <Instance>SRF_1_38</Instance>
    <ProcessInstance>TestProcess_39</ProcessInstance>
    <State>Failed</State>
    <Scheduled-time>2012-06-22T13:28:42.000Z</Scheduled-time>
    <Start-time>2012-06-22T13:28:42.000Z</Start-time>
  </StartRequestInstance>
</pam-ops:AbortStartRequestResponse>