pp108 : DeleteCaseInstance

DeleteCaseInstance

This Web service operation is used to delete the completed or terminated Case instances from the repository. The DeleteCaseInstance is a part of the CaseInstanceAdministration Web service interface with the namespace 'http://schemas.cordys.com/casemanagement/instanceadministration/1.0'.

SOAP Request

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope">
    <SOAP:Body>
        <DeleteCaseInstance xmlns="http://schemas.cordys.com/casemanagement/instanceadministration/1.0">
            <caseinstanceid>005056C0-0008-11E0-EE44-9EBB789513C8</caseinstanceid>
        </DeleteCaseInstance>
    </SOAP:Body>
</SOAP:Envelope>
Request Parameters

Parameter

Description

Mandatory

Accepted Input Values

caseinstanceid

Refers to the unique identifier of the Case instance. The Case instance ID can be obtained from:

  • The ID returned in the response of the CreateCase invocation
  • The Workflow.getCaseInstanceId Web API when invoked from a human task of the Case instance

Yes

GUID

SOAP Response

<data>
     <DeleteCaseInstanceResponse xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.cordys.com/casemanagement/instanceadministration/1.0"/>
</data>  
Returns an empty response if the deletion is successful.Soap Fault occurs otherwise.