Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any model for Connect webhook response? #315

Open
imtiazahmeddahar opened this issue Apr 14, 2021 · 3 comments
Open

Is there any model for Connect webhook response? #315

imtiazahmeddahar opened this issue Apr 14, 2021 · 3 comments

Comments

@imtiazahmeddahar
Copy link

I have configured DocuSign Connect (webhook) to receive real-time data. In this regard, is there any model which would be deserialized from JSON value to that model. I have also attached sample JSON response (got from DocuSign).

webhook-2.txt

@ivdinkovds
Copy link

ivdinkovds commented May 18, 2021

Hi @imtiazahmeddahar, have you tried to parse to a simple Envelope

@imtiazahmeddahar
Copy link
Author

No, I had not tried yet, but I made own class with some fields required for my specifications and I have also added some pre-built models to my model (like EnvelopeDocument and CustomFields). I will try and let you updated.

@imtiazahmeddahar
Copy link
Author

I have tried right now, everything seems good but I found a problem, I have pdf documents (base64 string) in my web-hook (json) response and there is "PDFBytes" field value which is not member of "EnvelopeDocument" model.

This "PDFBytes" json base64 string value helps me to get completed (signed) documents from DocuSign so we can further process it in our system/save.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants