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

Selecting a Template for the Agreement Document

This associates a template with the agreement, enabling the agreement document to be published.

API

Signature

selectFirstTemplateIdForAgreement

webService static Id selectFirstTemplateIdForAgreement(Id agreementId)

Parameters

Name

Type

Description

agreementId

ID

The id of the agreement

Response

Name

Type

Description

result

ID

The id of the template that is used to generate the agreement document

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

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:agr="http://soap.sforce.com/schemas/class/Apttus/AgreementWebService"> <soapenv:Header> <agr:SessionHeader> <agr:sessionId>00D020000008lUh!AQYAQEEW..3lVJKVa9atZ.0B6NtzfwyA.27WJEfZds4IqJX8uzm8O7.VdNoOTWwjGFxgbrF03ylztaIg6VvFl_EeKVGaQccY </agr:sessionId> </agr:SessionHeader> </soapenv:Header> <soapenv:Body> <agr:selectFirstTemplateIdForAgreement> <agr:agreementId>a07020000008w9GAAQ</agr:agreementId> </agr:selectFirstTemplateIdForAgreement> </soapenv:Body> </soapenv:Envelope>

Example Response

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://soap.sforce.com/schemas/class/Apttus/AgreementWebService"> <soapenv:Body> <selectFirstTemplateIdForAgreementResponse> <result>a09R000000Alm7iIAB</result> </selectFirstTemplateIdForAgreementResponse> </soapenv:Body> </soapenv:Envelope>