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 DocuSign.eSign.Api;
using DocuSign.eSign.Client;
using DocuSign.eSign.Model;
using Newtonsoft.Json;
Imports System
Imports System.Collections.Generic
Imports System.Xml
Imports DocuSign.eSign.Api
Imports DocuSign.eSign.Client
Imports DocuSign.eSign.Model
Imports Newtonsoft.Json
Imports System.IO
Imports System.Text
@codingdawg
codingdawg / CreateEnvelopeDuplicateRecipients.cs
Created June 9, 2017 15:31
Envelope with 3 cc recipients and 2 signers.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DocuSign.eSign.Api;
using DocuSign.eSign.Client;
using DocuSign.eSign.Model;
using Newtonsoft.Json;
@codingdawg
codingdawg / CompositeTemplateSample.cs
Created June 6, 2017 17:29
Create an envelope using Composite template.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DocuSign.eSign.Api;
using DocuSign.eSign.Client;
using DocuSign.eSign.Model;
using Newtonsoft.Json;
@codingdawg
codingdawg / EnvelopeWIthTwoDocs.json
Created May 25, 2017 21:40
Envelope with two PDF Documents
{
"recipients": {
"signers": [
{
"email": "janedoe@acme.com",
"name": "jane doe",
"recipientId": 1,
"tabs": {
"signHereTabs": [
{
@codingdawg
codingdawg / DocWithFormFieldsWildCards.json
Created May 25, 2017 20:08
Document with Form Fields and Wild Cards
{
"emailSubject": "Doc with form fields",
"status": "sent",
"compositeTemplates": [
{
"inlineTemplates": [
{
"sequence": "1",
"recipients": {
"signers": [
@codingdawg
codingdawg / HexTester.cs
Created May 9, 2017 23:15
XML Deserializer throwing Exception
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml.Serialization;
namespace XMLTester
{
public class HexTester
{
Imports DocuSign.eSign.Api
Imports DocuSign.eSign.Client
Imports DocuSign.eSign.Model
Imports Newtonsoft.Json
Imports System.Collections.Generic
Imports System.IO
Imports System.Text
Imports System.Web
Imports System.Web.Http
using DocuSign.eSign.Api;
using DocuSign.eSign.Client;
using DocuSign.eSign.Model;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace CodingDawg.Sample
@codingdawg
codingdawg / PostEnvelopeWIthNumberTab.cs
Last active March 24, 2017 18:26
Posts an envelope with a number tab
using DocuSign.eSign.Api;
using DocuSign.eSign.Client;
using DocuSign.eSign.Model;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace PlayGround