Skip to content

Instantly share code, notes, and snippets.

@Ergin008
Ergin008 / RequestSignatureOnDocument.cs
Last active July 9, 2016 02:19
Request Signature on a Local Document
// DocuSign API Walkthrough 04 in C# - Request Signature on a Document
//
// To run this sample:
// 1) Create a new .NET project.
// 2) Add 4 assembly references to the project: System, System.Net, System.XML, and System.XML.Linq
// 3) Update the email, password, integrator key, recipient name, and document name in the code
// 4) Copy a sample PDF file into project directory with same name as the document name you set in the code
// 5) Compile and Run
//
// NOTE 1: The DocuSign REST API accepts both JSON and XML formatted http requests. These C# API walkthroughs
@Ergin008
Ergin008 / GetRecipientStatus.cs
Last active July 9, 2016 02:19
Get Envelope Recipient Status
// DocuSign API Walkthrough 03 in C# - Get Recipient Status
//
// To run this sample:
// 1) Create a new .NET project.
// 2) Add 4 assembly references to the project: System, System.Net, System.XML, and System.XML.Linq
// 3) Update the email, password, integrator key, and envelopeId in the code
// 4) Compile and Run
//
// NOTE 1: The DocuSign REST API accepts both JSON and XML formatted http requests. These C# API walkthroughs
// demonstrate the use of XML format, whereas the other walkthroughs show examples in JSON format.
@Ergin008
Ergin008 / GetEnvelopeInfo.cs
Last active July 9, 2016 02:20
Get Envelope Information
// DocuSign API Walkthrough 02 in C# - Get Envelope Info of a specified envelope
//
// To run this sample:
// 1) Create a new .NET project.
// 2) Add 4 assembly references to the project: System, System.Net, System.XML, and System.XML.Linq
// 3) Update the email, password, integrator key, and envelopeId in the code
// 4) Compile and Run
//
// NOTE 1: The DocuSign REST API accepts both JSON and XML formatted http requests. These C# API walkthroughs
// demonstrate the use of XML format, whereas the other walkthroughs show examples in JSON format.
@Ergin008
Ergin008 / RequestSignatureFromTemplate.cs
Last active October 13, 2015 08:08
Request Signature from a Template
// DocuSign API Walkthrough 01 in C# - Request Signature from Template
//
// To run this sample:
// 1) Create a new .NET project.
// 2) Add 4 assembly references to the project: System, System.Net, System.XML, and System.XML.Linq
// 3) Update the email, password, integrator key, and template variables in the code
// 4) Compile and Run
//
// NOTE 1: This sample requires that you first create a Template through the DocuSign member Console.
//
@Ergin008
Ergin008 / embeddedDocuSign.java
Last active October 13, 2015 08:08
Embedded DocuSign
// DocuSign API Walkthrough 09 in Java - Embedded DocuSign Console
import java.io.*;
import java.net.URL;
import java.net.HttpURLConnection;
import javax.xml.transform.*;
import javax.xml.transform.stream.*;
import javax.xml.xpath.*;
import org.xml.sax.InputSource;
@Ergin008
Ergin008 / embeddedSigning.java
Last active October 13, 2015 08:08
Embedded Signing
// DocuSign API Walkthrough 08 in Java - Embedded Signing
import java.io.*;
import java.net.URL;
import java.net.HttpURLConnection;
import javax.xml.transform.*;
import javax.xml.transform.stream.*;
import javax.xml.xpath.*;
import org.xml.sax.InputSource;
@Ergin008
Ergin008 / embeddedSending.java
Last active October 13, 2015 08:08
Embedded Sending
// DocuSign API Walkthrough 07 in Java - Embedded Sending
import java.io.*;
import java.net.URL;
import java.net.HttpURLConnection;
import javax.xml.transform.*;
import javax.xml.transform.stream.*;
import javax.xml.xpath.*;
import org.xml.sax.InputSource;
@Ergin008
Ergin008 / getEnvelopeDocuments.java
Last active October 13, 2015 08:08
Get Envelope Documents
// DocuSign API Walkthrough 06 in Java - Get Envelope Document List and Download Documents
import java.io.*;
import java.net.URL;
import java.net.HttpURLConnection;
import javax.xml.transform.*;
import javax.xml.transform.stream.*;
import javax.xml.xpath.*;
import org.xml.sax.InputSource;
import org.w3c.dom.*;
@Ergin008
Ergin008 / getEnvelopeStatus.java
Last active October 13, 2015 08:08
Get Envelope Status
// DocuSign API Walkthrough 05 in Java - Get Set of Envelopes based on filter
import java.io.*;
import java.net.URL;
import java.net.HttpURLConnection;
import javax.xml.transform.*;
import javax.xml.transform.stream.*;
import javax.xml.xpath.*;
import org.xml.sax.InputSource;
@Ergin008
Ergin008 / requestSignatureDocument.java
Last active October 13, 2015 08:08
Request Signature on Envelope Document
// DocuSign API Walkthrough 04 in Java - Request Signature on Document
import java.io.*;
import java.net.URL;
import java.net.HttpURLConnection;
import javax.xml.transform.*;
import javax.xml.transform.stream.*;
import javax.xml.xpath.*;
import org.xml.sax.InputSource;