Skip to main content

how to write test class for Storedocument in Docusign from salesforce using Docusign Api

 

 i have enclosed the code for upload the document.

 

 CMAPIUserAuthenticator objApiuserAuth = new CMAPIUserAuthenticator(strclientID,strclientSecret,strauthURL,strdataCenter,strversion);

                SpringCMService objSpringCMService = new SpringCMService(objApiuserAuth);

                FolderRequest objFP = objSpringCMService.GetFolderByPath('Other Sources/Quotes/'+objQuote.Name);

                Folder parentFolder =objFP .getFolder();

                CLMDocument objCLMResult = objSpringCMService.UploadDocuments(parentFolder, mapdocumentsToStore, objDoc.Name);