This method returns the list of word documents of type files, based on parent id passed in parameter.

API

Signature

getWordDocumentInfosForParentWithFiles

webService static List getWordDocumentInfosForParentWithFiles(Id parentId)

Parameters
NameTypeDescription
parentIdIDThe id of the parent agreement.


Response
NameTypeDescription
ListContentDocumentLinkReturns the list of content document link.



Code Sample 

ID agreementId = 'a0Y61000002K6IR';
List<ContentDocumentLink> lstContentDocumentLink = Apttus.AuthorWebService.getWordDocumentInfosForParentWithFiles(agreementId);
CODE

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

API Prerequisites

None.

Request/Response XML

Example Request

<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!ARUAQGAA1VTGcAG1zxylmAb1RJmiUnspuO5dzL53Xsx3jVhYI3oWTqB2dqzdBeswmwj_I49aI6BgIM4veO1At3rLd9z6BjXv</aut:sessionId>
      </aut:SessionHeader>
   </soapenv:Header>
   <soapenv:Body>
      <aut:getWordDocumentInfosForParentWithFiles>
         <aut:parentId>a070S000002bUEyQAM</aut:parentId>
      </aut:getWordDocumentInfosForParentWithFiles>
   </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/AuthorWebService" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
      <getWordDocumentInfosForParentWithFilesResponse>
            <result xsi:type="ContentDocumentLink">
            <Id>06A0S000000lhTHUAY</Id>
            <ContentDocument xsi:type="ContentDocument">
               <Id>0690S000000SviVQAS</Id>
               <CreatedById>0050S000001GAHMQA4</CreatedById>
               <FileExtension>doc</FileExtension>
               <FileType>WORD</FileType>
               <LastModifiedById>0050S000001GAHMQA4</LastModifiedById>
               <LastModifiedDate>2020-07-16T09:56:19.000Z</LastModifiedDate>
               <LatestPublishedVersion xsi:type="ContentVersion">
                  <Id>0680S000000SzTGQA0</Id>
                  <ContentSize>73929</ContentSize>
               </LatestPublishedVersion>
               <LatestPublishedVersionId>0680S000000SzTGQA0</LatestPublishedVersionId>
               <OwnerId>0050S000001GAHMQA4</OwnerId>
               <SystemModstamp>2020-07-16T09:56:37.000Z</SystemModstamp>
               <Title>Corporate-Original_Template with 2 Smart Clauses</Title>
            </ContentDocument>
            <ContentDocumentId>0690S000000SviVQAS</ContentDocumentId>
            <LinkedEntityId>a070S000002bUEyQAM</LinkedEntityId>
         </result>
         <result xsi:type="ContentDocumentLink">
            <Id>06A0S000000lhTJUAY</Id>
            <ContentDocument xsi:type="ContentDocument">
               <Id>0690S000000SviWQAS</Id>
               <CreatedById>0050S000001GAHMQA4</CreatedById>
               <FileExtension>doc</FileExtension>
               <FileType>WORD</FileType>
               <LastModifiedById>0050S000001GAHMQA4</LastModifiedById>
               <LastModifiedDate>2020-07-16T09:56:21.000Z</LastModifiedDate>
               <LatestPublishedVersion xsi:type="ContentVersion">
                  <Id>0680S000000SzTHQA0</Id>
                  <ContentSize>14391</ContentSize>
               </LatestPublishedVersion>
               <LatestPublishedVersionId>0680S000000SzTHQA0</LatestPublishedVersionId>
               <OwnerId>0050S000001GAHMQA4</OwnerId>
               <SystemModstamp>2020-07-16T09:56:38.000Z</SystemModstamp>
               <Title>Corporate-NR_Test_001_Regenerated_ct_2.0_2020-01-27</Title>
            </ContentDocument>
            <ContentDocumentId>0690S000000SviWQAS</ContentDocumentId>
            <LinkedEntityId>a070S000002bUEyQAM</LinkedEntityId>
         </result>
         <result xsi:type="ContentDocumentLink">
            <Id>06A0S000000lhTMUAY</Id>
            <ContentDocument xsi:type="ContentDocument">
               <Id>0690S000000SviaQAC</Id>
               <CreatedById>0050S000001GAHMQA4</CreatedById>
               <FileExtension>docx</FileExtension>
               <FileType>WORD_X</FileType>
               <LastModifiedById>0050S000001GAHMQA4</LastModifiedById>
               <LastModifiedDate>2020-07-16T09:56:20.000Z</LastModifiedDate>
               <LatestPublishedVersion xsi:type="ContentVersion">
                  <Id>0680S000000SzTLQA0</Id>
                  <ContentSize>39544</ContentSize>
               </LatestPublishedVersion>
               <LatestPublishedVersionId>0680S000000SzTLQA0</LatestPublishedVersionId>
               <OwnerId>0050S000001GAHMQA4</OwnerId>
               <SystemModstamp>2020-07-16T09:56:30.000Z</SystemModstamp>
               <Title>RS 11 Mar 02_Redlines_Web OL Font Template_2020-03-11</Title>
            </ContentDocument>
            <ContentDocumentId>0690S000000SviaQAC</ContentDocumentId>
            <LinkedEntityId>a070S000002bUEyQAM</LinkedEntityId>
         </result>
      </getWordDocumentInfosForParentWithFilesResponse>
   </soapenv:Body>
</soapenv:Envelope>
XML