Updating a Contract Line Items Document Using the Contract Line Items Document Management API

The Contract Line Items Document Management API can be implemented in a client application to update an existing Contract Line Items Document (CLID) in a contract workspace.

Prerequisites

  • You must have the ID of the contract workspace where the CLID that you want to update exists.

  • You must have the ID of the CLID that you want to update.

Context

The PATCH /contractWorkspaces/{contractId}/contractLineItemDocuments/{id} endpoint of the Contract Line Items Document Management API enables you to update an existing CLID in a contract workspace. You can create a request body specifying the fields of the CLID that you want to update.

Procedure

Invoke the PATCH /contractWorkspaces/{contractId}/contractLineItemDocuments/{id} endpoint.
Where,
  • user, is the ID of the user on whose behalf the API call is invoked. This is a required parameter.

  • passwordAdapter, is the password for authenticating the user on whose behalf the request was initiated. This is a required parameter.

  • realm, is the SAP Ariba Contracts site to which the API request is sent. This is a required parameter.

In the request body, specify the fields that you want to update in the CLID. A sample request body is as follows:

Results

If the request is successful, the Contract Line Items Document Management API returns the details of the CLID updated in the specified contract workspace. For information about the response codes returned by the API, see Error Messages Returned by the Contract Workspace Management APIs.