This API enables you to delete an approval step which was added through the Add Adhoc Step process from the MyApprovals tab. This API accepts the id of the request to be removed as input parameter and returns true if the step is successfully deleted.

APISignature
deleteAdhocApprovalwebService static Boolean deleteAdhocApproval(Id ctxRequestId)
Request Parameters
NameTypeRequired?Description

ctxRequestId

IDYesID of the request to be removed/deleted.
Response Parameter
NameTypeDescription
resultBooleanReturns true if the approval step is deleted successfully.

Integration Details

Use the following information in your integrations with Conga Approvals API. Refer to Integrating Conga with External Systems for information on how to get started.

API Prerequisites

None.

Response/Request XML

Example Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:app="http://soap.sforce.com/schemas/class/Apttus_Approval/ApprovalsWebService">
   <soapenv:Header>      
      <app:SessionHeader>
         <app:sessionId>00DR0000001nyVR!ARYAQNCIk5WB9S9PlmZzS2uecBjxnhB20ndYmyxseH1LEfStQi1cXAtXiDxEyd3kAbYrAXbpJmDZzVXGxrxxleE8Fmm6kqSm</app:sessionId>
      </app:SessionHeader>
      </soapenv:Header>
   <soapenv:Body>
      <app:deleteAdhocApproval>
         <app:ctxRequestId>a0oq00000059yUa</app:ctxRequestId>
      </app:deleteAdhocApproval>
   </soapenv:Body>
</soapenv:Envelope>
XML

Example Response

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns="http://soap.sforce.com/schemas/class/Apttus_Approval/ApprovalsWebService">
   <soapenv:Body>
      <deleteAdhocApprovalResponse>
         <result>true</result>
      </deleteAdhocApprovalResponse>
   </soapenv:Body>
</soapenv:Envelope>
XML