Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

Show Page Sections

download

Subscribing to Document Lock Release Notification

This API allows you to subscribe to document lock release notification during online contract collaboration.

API

Signature

subscribeToDocumentLock

webService static Boolean subscribeToDocumentLock(Id documentVersionId, Id agreementId, Id userId)

Request Parameters

Name

Type

Description

Required?

documentversionId

ID

Id of the document version

Yes

agreementId

ID

Id of the document

Yes

userID

ID

User ID of the subscriber

Yes

Response Parameter

Name

Type

Description

result

Boolean

Indicates whether the subscription to document lock release notification was successful.

Code Sample

id documentversionId ='a6v0S0000009DEY'; id agreementId = 'a07020000008w9BAAQ'; id CurrentUserID = getCurrentUser().Id; Apttus.AuthorWebservice.subscribeToDocumentLock(documentversionId, agreementId, CurrentUserID);

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 Conga CLM with External Systems.

API Prerequisites

None.

Request/Response XML

Example Request

<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:aut="http://soap.sforce.com/schemas/class/Apttus/AuthorWebService"> <soapenv:Header> <aut:SessionHeader> <aut:sessionId>00D0S0000000Pa8!ARUAQMLgPIx6FwqD3DCEs9oBPnTI2Gx9k0jH5wIL7WLW1sR1vNq1dI7oAxxG4EKbk5XBzRZlP5TQivHyO5bivwe.toaF9MrQ</aut:sessionId> </aut:SessionHeader> </soapenv:Header> <soapenv:Body> <aut:subscribeToDocumentLock> <aut:documentversionId>a6v0S0000009DEY</aut:reviewCycleId> <aut:agreementId>a07020000008w9BAAQ</aut:emailId> <aut:CurrentUserID>0050S000002KSZwQAO</aut:documentVersionDetailId> </aut:subscribeToDocumentLock> </soapenv:Body> </soapenv:Envelope>

Example Response

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://soap.sforce.com/schemas/class/Apttus/AuthorWebService"> <soapenv:Body> <subscribeToDocumentLockResponse> <result>true</result> </subscribeToDocumentLockResponse> </soapenv:Body> </soapenv:Envelope>