Skip to content

Commit

Permalink
adding codeDepot markers
Browse files Browse the repository at this point in the history
  • Loading branch information
paigesrossi committed Mar 7, 2024
1 parent a146551 commit 92bb7da
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,15 @@ protected void onInitModel(WorkArguments args, ModelMap model) throws Exception
protected Object doWork(WorkArguments args, ModelMap model, HttpServletResponse response) throws ApiException {
EnvelopesApi envelopesApi = createEnvelopesApi(session.getBasePath(), user.getAccessToken());

// Step 1. List the envelope's documents
// List the envelope's documents
//ds-snippet-start:eSign6Step3
EnvelopeDocumentsResult envelopeDocumentsResult = EnvelopeDocsService.envelopeDocs(
envelopesApi,
session.getAccountId(),
session.getEnvelopeId());

// Step 2. Process results
//ds-snippet-end:eSign6Step3

// Process results
// Save the envelopeId and its list of documents in the session so
// they can be used in example 7 (download a document)
List<EnvelopeDocumentInfo> envelopeDocItems = new ArrayList<>();
Expand Down

0 comments on commit 92bb7da

Please sign in to comment.