How to send multiple documents for signature DocuSign for Salesforce

為{幸葍}努か 提交于 2020-01-17 05:43:09

问题


Please can someone assist me. I am new to DocuSign. I have a project I am working on whereby the customer wants to be able to send multiple documents to a recipient for signature. From the standard DocuSign set up, you can add documents upon envelope creation but I am looking for a way to automate this. For instance I created a custom button that automatically sends the envelope to a recepient. But it seems I can only add one document template there. Could someone please advise me on what to actually do or where to look because I cant seem to find anything. I see some recipies on the DocuSign help but they are in python etc and I want instruction on Salesforce.


回答1:


POST
https://demo.docusign.net/restapi/v2/accounts/[accountId]/envelopes

In your create envelope body, you can specify multiple documents like:

emailSubject: "subject", recipients: { signers: [{ recipientId: 1, email: "signer@email.com", name: "Signers name" }]}, documents: [{ documentId: 1, filePath: 'your/path/here/1', }, { documentId: 2, filePath: 'your/path/here/2', }],



来源:https://stackoverflow.com/questions/39272640/how-to-send-multiple-documents-for-signature-docusign-for-salesforce

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!