The terminateAgreementsAsync API allows you to bulk terminate agreements based on the agreement status.

API

Signature

terminateAgreementsAsync

webService static Id terminateAgreementsAsync(List agreementIds)

Request Parameters

Name

Type

Description

Required?

agreementIds

List<ID>

List of agreement Ids

Yes


Code Sample

List<ID> agreementIdList = new List<ID> ();
Boolean response = Apttus.AgreementWebService.terminateAgreementsAsync(agreementIdList);
CODE

Use Case

Bulk terminate agreements and their related agreements with the same agreement number.

Order of Execution

  1. Check permissions.
  2. Get the agreement object.
  3. Register the terminate indicator.
  4. Terminate the agreement.
  5. Save the terminated agreement.
  6. Reset the terminate indicator.
  7. Refresh the original agreement.
  8. Post-termination updates.

Integration Details

Use the following information in your integrations with Apttus Contract Management Web Services API. For information on how to get started, refer to Integrating Apttus with External Systems.

API Prerequisites

None.

Request/Response XML

Example Request

 
XML

Example Response

 
XML