Synchronizing Contract Line Item Data of a Contract Workspace With Linked Compliance Contract Using Contract Terms Management API

Use this procedure to implement the Contract Terms Management API in a client application to synchronize the contract line item data in a SAP Ariba Contracts contract workspace with the linked compliance contract.

Context

The POST /contractWorkspaces/{contractId}/contractTerms/{contractTermId}/state endpoint of the Contract Terms Management API synchronizes the contract line item details in the specified SAP Ariba Contracts contract workspace with the compliance contract linked to it.

Procedure

  1. Invoke the POST /contractWorkspaces/{contractId}/contractTerms/{contractTermId}/state endpoint.
    {contractId}
    The ID of the contract workspace whose line item information you want to synchronize.
    {contractTermId}
    The ID of the compliance contract linked with the specified contract workspace.
    user
    The unique name of the user on whose behalf the API call is invoked.
    passwordAdapter
    The password adapter for authenticating the user on whose behalf the request was initiated.
    realm
    The SAP Ariba Contracts site to which the API request is sent.
  2. In the request body, enter the value for the variable action as SyncLineItemsToTerms.

Results

If the request is successful, the API initiates an asynchronous job to synchronize the contract line item data from the specified contract workspace with the linked compliance contract and returns a job ID for reference.

For information about the response codes returned by the API, refer to Error Messages Returned by the Contract Workspace Management APIs.