Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
// install DocuSign NuGet package or download source from GitHub:
// https://www.nuget.org/packages/DocuSign.Integration.Client.dll/
using DocuSign.Integrations.Client;
@Ergin008
Ergin008 / CreateAndSendEnvelope.java
Last active January 7, 2016 00:36
code snippet that shows how to create and send an envelope using the DocuSign Java Client
// specify a document we want signed
String SignTest1File = "[PATH/TO/DOCUMENT/TEST.PDF]";
// create a byte array that will hold our document bytes
byte[] fileBytes = null;
try
{
String currentDir = System.getProperty("user.dir");
// read file from a local directory
@Ergin008
Ergin008 / requestSigTemplate.m
Last active January 4, 2016 10:29
Temp Objective-C Walkthrough
//
// API Walkthrough 1 - Signature Request via Template (Objective-C)
//
// To run this sample:
// 1. Copy the below code into your iOS project
// 2. Enter email, password, integrator key, name, templateId, and roleName and save
// 3. Compile and Run
//
// Enter your info:
@Ergin008
Ergin008 / embeddedDocuSign.js
Last active December 20, 2015 16:09
DocuSign API Walkthrough - DocuSign Console Launch
//
// to run this sample
// 1. copy the file in your own directory - say, example.js
// 2. change "***" to appropriate values
// 3. install async and request packages
// npm install async
// npm install request
// 4. execute
// node example.js
//
@Ergin008
Ergin008 / embeddedSigning.js
Last active July 14, 2017 13:33
DocuSign API Walkthrough - Embedded Signing (JavaScript)
//
// to run this sample
// 1. copy the file in your own directory - say, example.js
// 2. change "***" to appropriate values
// 3. install async and request packages
// npm install async
// npm install request
// 4. execute
// node example.js
//
@Ergin008
Ergin008 / embeddedSending.js
Last active December 20, 2015 15:59
DocuSign API Walkthrough - Embedded Sending (JavaScript)
//
// to run this sample
// 1. copy the file in your own directory - say, example.js
// 2. change "***" to appropriate values
// 3. install async and request packages
// npm install async
// npm install request
// 4. execute
// node example.js
//
@Ergin008
Ergin008 / downloadEnvelopeDocs.js
Last active July 6, 2022 20:27
DocuSign API Walkthrough - Get Document List and Download Docs (JavaScript)
//
// to run this sample
// 1. copy the file in your own directory - say, example.js
// 2. change "***" to appropriate values
// 3. install async and request packages
// npm install async
// npm install request
// npm install fs
// 4. execute
// node example.js
@Ergin008
Ergin008 / getEnvelopeStatuses.js
Last active December 19, 2015 16:49
DocuSign API Walkthrough #5 - Get Envelope Status for Set of Envelopes (goes back one month from current date)
//
// to run this sample
// 1. copy the file in your own directory - say, example.js
// 2. change "***" to appropriate values
// 3. install async and request packages
// npm install async
// npm install request
// 4. execute
// node example.js
//
@Ergin008
Ergin008 / getRecipientInfo.js
Last active December 19, 2015 16:49
API Walkthrough #3 - Get Envelope Recipient Info
//
// to run this sample
// 1. copy the file in your own directory - say, example.js
// 2. change "***" to appropriate values
// 3. install async and request packages
// npm install async
// npm install request
// 4. execute
// node example.js
//
@Ergin008
Ergin008 / getEnvelopeInfo.js
Last active December 19, 2015 14:39
API Walkthrough #2 - Get Envelope Info (Javascript)
//
// to run this sample
// 1. copy the file in your own directory - say, example.js
// 2. change "***" to appropriate values
// 3. install async and request packages
// npm install async
// npm install request
// 4. execute
// node example.js
//