Docusignapi 如何使用docusign API将签名文档下载为组合PDF?

Docusignapi 如何使用docusign API将签名文档下载为组合PDF?,docusignapi,Docusignapi,这个链接()提到如何使用文档ID下载单独的文档。还找到了将文档作为zip文件下载的方法。但是有没有一种方法可以使用API将它们作为组合PDF下载 谢谢。不确定您使用的语言是什么,但C#代码将是这个(注意“组合”选项)。 其他语言-检查 // You would need to obtain an accessToken using your chosen auth flow var apiClient = new ApiClient(basePath); apiClient.Configura

这个链接()提到如何使用文档ID下载单独的文档。还找到了将文档作为zip文件下载的方法。但是有没有一种方法可以使用API将它们作为组合PDF下载


谢谢。

不确定您使用的语言是什么,但C#代码将是这个(注意“组合”选项)。 其他语言-检查

// You would need to obtain an accessToken using your chosen auth flow 
var apiClient = new ApiClient(basePath);
apiClient.Configuration.DefaultHeader.Add("Authorization", "Bearer " + accessToken);
var envelopesApi = new EnvelopesApi(apiClient);
string accountId; // accountId for your DocuSign account
string envelopeId; // envelopeId that you are working on
// produce a ZIP file with all documents including the CoC
Stream results1 = envelopesApi.GetDocument(accountId, envelopeId, "archive");
// produce a PDF combining all signed documents as well as the CoC
Stream results2 = envelopesApi.GetDocument(accountId, envelopeId, "combined");
// produce a particular document with documentId "1"
Stream results3 = envelopesApi.GetDocument(accountId, envelopeId, "1");
//TODO - use Stream to write or send the file for your use