Skip to content

Instantly share code, notes, and snippets.

/example.json Secret

Created December 22, 2017 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/be3593b0a39a95a0c97b2213ce86644a to your computer and use it in GitHub Desktop.
Save anonymous/be3593b0a39a95a0c97b2213ce86644a to your computer and use it in GitHub Desktop.
Example
{
"documents": [
{
"documentId": "1",
"name": "{% for document in documents %}{% if document.field_in_document_container == 'p_generated_document' %}{{document.name|remove:'.pdf'|remove:'.docx'}}{% endif %}{% endfor %}.docx"
}
],
"emailBlurb": "Please sign this document.",
"emailSubject": "Test DocuSign Email",
"notification": {
"reminders": {
"reminderEnabled": false,
"reminderDelay": "15",
"reminderFrequency": "1"
},
"expirations": {
"expireEnabled": true,
"expireAfter": 30,
"expireWarn": "15"
}
},
"eventNotification": {
"url": "https://jpowers.onit.com/api/atoms/{{id}}/execute_reaction/?auth_token=YiRKNJxf9NzMhsKLrPU3&reaction_name=webhook",
"loggingEnabled": true,
"requireAcknowledgment": true,
"useSoapInterface": false,
"includeDocuments": false,
"includeTimeZone": false,
"includeSenderAccountAsCustomField": true,
"envelopeEvents": [
{
"envelopeEventStatusCode": "declined"
},
{
"envelopeEventStatusCode": "voided"
},
{
"envelopeEventStatusCode": "completed",
"includeDocuments": true
}
],
"recipientEvents": [
{
"recipientEventStatusCode": "AutoResponded"
}
]
},
"recipients": {
"signers": [
{
"email": "jonathan.powers@onit.com",
"name": "Jonathan Powers",
"recipientId": "1",
"routingOrder": 1,
"tabs": {
"signHereTabs": [
{
"anchorIgnoreIfNotPresent": false,
"anchorString": "/Sig1/",
"anchorUnits": "pixels",
"anchorXOffset": "0",
"anchorYOffset": "0",
"conditionalParentLabel": null,
"conditionalParentValue": null,
"documentId": "1",
"locked": null,
"name": "Sign Here",
"optional": false,
"pageNumber": "1",
"recipientId": 1,
"required": true,
"scaleValue": 1,
"tabLabel": "Signature",
"value": null,
"xPosition": "0",
"yPosition": "0"
}
],
"dateSignedTabs": [
{
"anchorIgnoreIfNotPresent": true,
"anchorXOffset": "500",
"anchorYOffset": "0",
"anchorString": "/Sig1/",
"pageNumber": "1",
"recipientId": "1",
"xPosition": "0",
"yPosition": "0",
"tabLabel": "Date Signed",
"underline": false,
"name": "Date Signed"
}
]
}
},
{
"email": "jpowers@gmail.com",
"name": "Jonathan Powers",
"recipientId": "2",
"routingOrder": 2,
"tabs": {
"signHereTabs": [
{
"anchorIgnoreIfNotPresent": false,
"anchorString": "/Sig2/",
"anchorUnits": "pixels",
"anchorXOffset": "0",
"anchorYOffset": "0",
"conditionalParentLabel": null,
"conditionalParentValue": null,
"documentId": "1",
"locked": null,
"name": "Sign Here",
"optional": false,
"pageNumber": "1",
"recipientId": 2,
"required": true,
"scaleValue": 1,
"tabLabel": "Signature",
"value": null,
"xPosition": "0",
"yPosition": "0"
}
],
"dateSignedTabs": [
{
"anchorIgnoreIfNotPresent": true,
"anchorXOffset": "500",
"anchorYOffset": "0",
"anchorString": "/Sig2/",
"pageNumber": "1",
"recipientId": "2",
"xPosition": "0",
"yPosition": "0",
"tabLabel": "Date Signed",
"underline": false,
"name": "Date Signed"
}
]
}
}
]
},
"status": "sent"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment