在python flas中集成DocuSign的EnvelopeViews:createSender REST api

2024-09-27 23:27:11 发布

您现在位置:Python中文网/ 问答频道 /正文

def sender_edit_view(self, authenticationMethod=None, envelopeId='',
                            returnUrl=''):
    if not self.account_url:
        self.login_information()
    url = '/accounts/{accountId}/envelopes/{envelopeId}/views/edit' \
              .format(accountId=self.account_id,
                      envelopeId=envelopeId)
    if authenticationMethod is None:
        authenticationMethod = 'none'
    data = {
        'authenticationMethod': authenticationMethod,
        'returnUrl': returnUrl,
    }
    return self.post(url, data=data, expected_status_code=201)

pydocusign.exceptions.DocuSignException:DocuSign请求失败:GEThttps://demo.docusign.net/restapi/v2/accounts/9286679/envelopes/http://127.0.0.1:5000/views/edit返回代码404,但应为代码201;信息:

我想用UI重定向到sender视图

https://github.com/peopledoc/pydocusign/tree/master/pydocusign

正在尝试从上面的pydocusign使用


Tags: selfnoneurldataifaccounteditsender
1条回答
网友
1楼 · 发布于 2024-09-27 23:27:11

pydocusign库不是来自DocuSign。欢迎您使用它,但我们(文档管理员)无法提供有关它的建议

相反,我建议您查看DocuSign SDK for Python

有一个example app包含许多示例工作流Workflow example 1演示如何创建嵌入式签名仪式

新增

有关嵌入式发送,请参阅Workflow example 11.

相关问题 更多 >

    热门问题