获得结业证书的任何方式

获得结业证书的任何方式

本文介绍了从 DocuSign getAgreementPdf 获得结业证书的任何方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 DocuSign

解决方案

您可以通过getAgreementPdf 端点通过附加查询参数:include_coc=true.这似乎在实时文档中缺失,但存在于 Swagger 规范.

完整示例:

GET/clickapi/v1/accounts/{accountId}/clickwraps/{clickwrapId}/agreements/{agreementId}?include_coc=true

协议ID可以通过onAgreed的回调找到:

docuSignClick.Clickwrap.render({//...onAgreed: (agreementData) =>{//协议数据.agreementId}}, '#host-element');

或通过 POST 发送至 createHasAgreed 具有相同的 clientUserId.

I am using DocuSign clickWrap API to download completed clickwraps;

I am able to download the completed clickwrap only - not able to find a way to download the completion certificate as part of the clickwrap response (like we have in the web UI)... there is no option in the API document for getAgreementPdf either

解决方案

You can download the certificate through the getAgreementPdf endpointby appending the query parameter: include_coc=true. This seems to be missing from the live documentation, but is present in the Swagger spec.

Full example:

GET /clickapi/v1/accounts/{accountId}/clickwraps/{clickwrapId}/agreements/{agreementId}?include_coc=true

The agreement ID can be found either through the callback of onAgreed:

docuSignClick.Clickwrap.render({
   //...
   onAgreed: (agreementData) => {
     // agreementData.agreementId
   }
}, '#host-element');

Or through a POST to createHasAgreed with the same clientUserId.

这篇关于从 DocuSign getAgreementPdf 获得结业证书的任何方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 12:51