Skip to content

Instantly share code, notes, and snippets.

@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 / 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 / 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 / GetEnvelopeStatuses.cs
Last active July 9, 2016 02:19
Get Envelope Statuses for a set of envelopes using a filter
// DocuSign API Walkthrough 05 in C# - Get Envelope Statuses for a set of envelopes
//
// 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, and integrator key 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 / DownloadEnvelopeDocs.cs
Last active July 9, 2016 02:19
Get Document List and Download Envelope Documents
// DocuSign API Walkthrough 06 in C# - Download Envelope Document(s)
//
// 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 / EmbeddedSending.cs
Last active July 9, 2016 02:17
Embedded Sending
// DocuSign API Walkthrough 07 in C# - Embedded Sending (launch sender view of an 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 template information 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 / EmbeddedSigning.cs
Last active July 9, 2016 02:17
Embedded Signing
// DocuSign API Walkthrough 08 in C# - Embedded Signing (launch the recipient view of an 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 template information 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 / EmbeddedDocuSignConsole.cs
Last active July 9, 2016 02:17
Embedded DocuSign
// DocuSign API Walkthrough 09 in C# - Embedded DocuSign Console (launch the member console)
//
// 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, and integrator key 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 / RequestSignature.py
Created December 5, 2012 19:54
Request Document Signature from Template
# DocuSign API Walkthrough 01 (PYTHON) - Request Signature from Template
import sys, httplib2, json;
# Enter your info:
username = "***";
password = "***";
integratorKey = "***";
templateId = "***";
authenticateStr = "<DocuSignCredentials>" \
@Ergin008
Ergin008 / GetEnvelopeInfo.py
Created December 5, 2012 19:55
Get Envelope Information
# DocuSign API Walkthrough 02 (PYTHON) - Get Envelope Information
import sys, httplib2, json;
#enter your info:
username = "***";
password = "***";
integratorKey = "***";
templateId = "***";
envelopeId = "***";
envelopeUri = "/envelopes/" + envelopeId;