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


API

Signature

selectFirstTemplateIdForAgreement

webService static Id selectFirstTemplateIdForAgreement(Id agreementId)
Parameters
NameTypeDescription
agreementIdIDThe id of the agreement


Response
NameTypeDescription
resultIDThe 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>
XML

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>
XML