c# - DocuSign Envelope Notification -
i have integrated company's system docusign using docusign's soap api. can send, check status , retrieve envelopes through soap interface.
i have read preferred method of getting envelope status through event. unfortunately haven't had luck finding example of this.
i found documentation here.
has used way of event / notification docusign point me in right direction?
there examples of on docusign's own lithium forums (which made read-only soon) in php example. they're pretty easy setup, need server listening events rights ports open , add eventnotification element request. you've referenced soap api guide, sample php code below shows how implement. there's version available rest api.
you can download docusign's soap sdk out of github , there's sample php project ready of out of box start modifying , adding in eventnotifications.
// notifications $eventnoti = new eventnotification(); $eventnoti->url = 'http://myurl.com/docusign/updatedocstatus'.$env_id.'/'; $eventnoti->loggingenabled = "true"; // important stuff below $envevent = new envelopeevent(); $envevent->envelopeeventstatuscode = "completed"; // <---------- fires on "completed" $envevent->includedocuments = "true"; $eventnoti->envelopeevents = array($envevent); // <------------ add multiple envelopeevent's $envinfo->eventnotification = $eventnoti;
this link above code referenced from, along further discussion might help.
another option use docusign connect module push events external listener. main difference between docusign connect , eventnotification eventnotification per envelope, connect account wide , or user-wide.
Comments
Post a Comment