Skip to content

Commit 1415669

Browse files
committed
DEVDOCS-10517 - adding codeDepot markers
1 parent 46c30fc commit 1415669

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/eSignature/examples/envelopeCustomFieldData.js

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

20+
//ds-snippet-start:eSign18Step2
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:eSign18Step2
2527

2628
// Step 1. Call EnvelopeCustomFields::get
2729
// Exceptions will be caught by the calling function
30+
//ds-snippet-start:eSign18Step3
2831
results = await envelopesApi.listCustomFields(
2932
args.accountId,
3033
args.envelopeId,
3134
null
3235
);
36+
//ds-snippet-end:eSign18Step3
3337
return results;
3438
};
3539

0 commit comments

Comments
 (0)