ImportExport


Click here for a complete list of operations.

Incident_RetrieveWorkflowTransitions

Will retrieve available transitions for the specied status ID for the currently logged-on user.

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Spira/Services/v2_2/ImportExport.asmx HTTP/1.1
Host: api.inflectra.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.inflectra.com/SpiraTest/Services/v2.2/Incident_RetrieveWorkflowTransitions"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Incident_RetrieveWorkflowTransitions xmlns="http://www.inflectra.com/SpiraTest/Services/v2.2/">
      <currentTypeID>int</currentTypeID>
      <currentStatusID>int</currentStatusID>
      <isDetector>boolean</isDetector>
      <isOwner>boolean</isOwner>
    </Incident_RetrieveWorkflowTransitions>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Incident_RetrieveWorkflowTransitionsResponse xmlns="http://www.inflectra.com/SpiraTest/Services/v2.2/">
      <Incident_RetrieveWorkflowTransitionsResult>
        <RemoteWorkflowIncidentTransition>
          <ExecuteByDetector>boolean</ExecuteByDetector>
          <ExecuteByOwner>boolean</ExecuteByOwner>
          <IncidentStatusID_Input>int</IncidentStatusID_Input>
          <IncidentStatusName_Input>string</IncidentStatusName_Input>
          <IncidentStatusID_Output>int</IncidentStatusID_Output>
          <IncidentStatusName_Output>string</IncidentStatusName_Output>
          <Name>string</Name>
          <WorkflowID>int</WorkflowID>
          <TransitionID>int</TransitionID>
        </RemoteWorkflowIncidentTransition>
        <RemoteWorkflowIncidentTransition>
          <ExecuteByDetector>boolean</ExecuteByDetector>
          <ExecuteByOwner>boolean</ExecuteByOwner>
          <IncidentStatusID_Input>int</IncidentStatusID_Input>
          <IncidentStatusName_Input>string</IncidentStatusName_Input>
          <IncidentStatusID_Output>int</IncidentStatusID_Output>
          <IncidentStatusName_Output>string</IncidentStatusName_Output>
          <Name>string</Name>
          <WorkflowID>int</WorkflowID>
          <TransitionID>int</TransitionID>
        </RemoteWorkflowIncidentTransition>
      </Incident_RetrieveWorkflowTransitionsResult>
    </Incident_RetrieveWorkflowTransitionsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Spira/Services/v2_2/ImportExport.asmx HTTP/1.1
Host: api.inflectra.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Incident_RetrieveWorkflowTransitions xmlns="http://www.inflectra.com/SpiraTest/Services/v2.2/">
      <currentTypeID>int</currentTypeID>
      <currentStatusID>int</currentStatusID>
      <isDetector>boolean</isDetector>
      <isOwner>boolean</isOwner>
    </Incident_RetrieveWorkflowTransitions>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Incident_RetrieveWorkflowTransitionsResponse xmlns="http://www.inflectra.com/SpiraTest/Services/v2.2/">
      <Incident_RetrieveWorkflowTransitionsResult>
        <RemoteWorkflowIncidentTransition>
          <ExecuteByDetector>boolean</ExecuteByDetector>
          <ExecuteByOwner>boolean</ExecuteByOwner>
          <IncidentStatusID_Input>int</IncidentStatusID_Input>
          <IncidentStatusName_Input>string</IncidentStatusName_Input>
          <IncidentStatusID_Output>int</IncidentStatusID_Output>
          <IncidentStatusName_Output>string</IncidentStatusName_Output>
          <Name>string</Name>
          <WorkflowID>int</WorkflowID>
          <TransitionID>int</TransitionID>
        </RemoteWorkflowIncidentTransition>
        <RemoteWorkflowIncidentTransition>
          <ExecuteByDetector>boolean</ExecuteByDetector>
          <ExecuteByOwner>boolean</ExecuteByOwner>
          <IncidentStatusID_Input>int</IncidentStatusID_Input>
          <IncidentStatusName_Input>string</IncidentStatusName_Input>
          <IncidentStatusID_Output>int</IncidentStatusID_Output>
          <IncidentStatusName_Output>string</IncidentStatusName_Output>
          <Name>string</Name>
          <WorkflowID>int</WorkflowID>
          <TransitionID>int</TransitionID>
        </RemoteWorkflowIncidentTransition>
      </Incident_RetrieveWorkflowTransitionsResult>
    </Incident_RetrieveWorkflowTransitionsResponse>
  </soap12:Body>
</soap12:Envelope>