Created
November 15, 2016 10:00
-
-
Save benrolfe/1787a6476cb0972c3b2da617fc8d251d to your computer and use it in GitHub Desktop.
docusign-multiple-templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
X-DocuSign-Authentication: {"Username":"YOUR_USER_NAME","Password":"YOUR_PASSWORD","IntegratorKey":"YOUR_INTEGRATOR_KEY"} | |
Content-Type: multipart/form-data; boundary=5cd3320a-5aac-4453-b3a4-cbb52a4cba5d | |
Accept: application/json | |
--5cd3320a-5aac-4453-b3a4-cbb52a4cba5d | |
Content-Type: application/json | |
Content-Disposition: form-data | |
{ | |
"status": "sent", | |
"emailSubject": "Test Envelope", | |
"recipients": { | |
"signers": [ | |
{ | |
"email": "abbysEmailAddr@outlook.com", | |
"name": "Abby Abbott", | |
"recipientId": "1", | |
"roleName": "Customer1", | |
"routingOrder": "1" | |
}, | |
{ | |
"email": "bobsEmailAddr@outlook.com", | |
"name": "Bob Burns", | |
"recipientId": "2", | |
"roleName": "Customer2", | |
"routingOrder": "1" | |
}, | |
{ | |
"email": "charliesEmailAddr@outlook.com", | |
"name": "Charlie Carlson", | |
"recipientId": "3", | |
"roleName": "Supplier1", | |
"routingOrder": "3" | |
} | |
] | |
}, | |
"compositeTemplates": [ | |
{ | |
"compositeTemplateId": 1, | |
"serverTemplates": [ | |
{ | |
"sequence": 1, | |
"templateId": "0dfcb484-b07d-478e-9d25-dfc6a287d2a8" | |
} | |
], | |
"document": { | |
"documentId": 1, | |
"name": "customer-agreement", | |
"fileExtension": "pdf", | |
"mimeType": "application/pdf", | |
"documentBase64": "VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==" | |
} | |
}, | |
{ | |
"compositeTemplateId": 2, | |
"serverTemplates": [ | |
{ | |
"sequence": 1, | |
"templateId": "5d9ea7ba-82ff-4a01-979e-b733f4c3ec12" | |
} | |
], | |
"document": { | |
"documentId": 2, | |
"name": "supplier-agreement", | |
"fileExtension": "pdf", | |
"mimeType": "application/pdf", | |
"documentBase64": "lbmNvZGVkIHNVGhpcyBpcyBhbiB0cmluZw==" | |
} | |
} | |
] | |
} | |
--5cd3320a-5aac-4453-b3a4-cbb52a4cba5d | |
Content-Type: application/pdf | |
Content-Disposition: file; filename="customer-agreement.pdf"; documentId=1; compositeTemplateId="1" | |
Content-Transfer-Encoding: base64 | |
VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw== | |
--5cd3320a-5aac-4453-b3a4-cbb52a4cba5d | |
Content-Type: application/pdf | |
Content-Disposition: file; filename="supplier-agreementt.pdf"; documentId=2; compositeTemplateId="2" | |
Content-Transfer-Encoding: base64 | |
lbmNvZGVkIHNVGhpcyBpcyBhbiB0cmluZw== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment