Pass Information when generating an Docusign envelope


the idea is to pass a contact person and a signature field when generating an envelope from a sugarcrm document. The problem is that there is no documentation for the integration code. Here we need to know how to modify the existing function to pass more parameters to docusign. Is there anyone who can help with this?

Best regards Lara