-
-
Save anonymous/be3593b0a39a95a0c97b2213ce86644a to your computer and use it in GitHub Desktop.
Example
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
{ | |
"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