Skip to content

Commit 99c4dd1

Browse files
committed
DEVDOCS-10598 - adding codeDepot markers
1 parent 716d04d commit 99c4dd1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/eSignature/examples/envelopeTabData.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,19 @@ const getEnvelopeFormData = async (args) => {
1717
// args.accountId
1818
// args.envelopeId
1919

20+
//ds-snippet-start:eSign15Step2
2021
let dsApiClient = new docusign.ApiClient();
2122
dsApiClient.setBasePath(args.basePath);
2223
dsApiClient.addDefaultHeader("Authorization", "Bearer " + args.accessToken);
2324
let envelopesApi = new docusign.EnvelopesApi(dsApiClient),
2425
results = null;
26+
//ds-snippet-end:eSign15Step2
2527

2628
// Step 1. Call EnvelopeFormData::get
2729
// Exceptions will be caught by the calling function
30+
//ds-snippet-start:eSign15Step3
2831
results = await envelopesApi.getFormData(args.accountId, args.envelopeId);
32+
//ds-snippet-end:eSign15Step3
2933
return results;
3034
};
3135

0 commit comments

Comments
 (0)