gpt4 book ai didi

docusignapi - 重新发送DocuSign电子邮件

转载 作者:行者123 更新时间:2023-12-04 10:18:25 25 4
gpt4 key购买 nike

是否有API端点可让我重新触发发给收件人的电子邮件?有时,用户可能不会丢失或丢失包含其签名链接的DocuSign电子邮件。我希望能够根据需要再次发送这些电子邮件。

最佳答案

您可以使用“修改收件人”请求来触发将电子邮件通知重新发送给特定收件人。

PUT /accounts/{accountId}/envelopes/{envelopeId}/recipients?resend_envelope=true

确保在URL中包含querystring参数/值 resend_envelope = true (如上所示)。

例如,如果 GET收件人响应显示信封包含以下收件人:
{
"signers": [
{
"name": "Jane Doe",
"email": "janesemail@outlook.com",
"recipientId": "3",
"recipientIdGuid": "13e30b8d-3dd6-48e8-ad12-15237611a463",
"requireIdLookup": "false",
"userId": "2c9e06eb-f2c5-4bef-957a-5a3dbd6edd25",
"routingOrder": "1",
"status": "sent"
},
{
"name": "John Doe",
"email": "johnsemail@outlook.com",
"recipientId": "1",
"recipientIdGuid": "c2273f0f-1430-484a-886c-45ce2fb5e8a8",
"requireIdLookup": "false",
"userId": "03c8a856-c0ae-41bf-943d-ac6e92db66a8",
"routingOrder": "1",
"note": "",
"roleName": "Signer1",
"status": "sent",
"templateLocked": "false",
"templateRequired": "false"
}
],
"agents": [],
"editors": [],
"intermediaries": [],
"carbonCopies": [],
"certifiedDeliveries": [],
"inPersonSigners": [],
"recipientCount": "2",
"currentRoutingOrder": "1"
}

然后,我可以使用以下请求触发将签名邀请电子邮件重新发送给不完整的收件人(“简·多伊”):
PUT https://{{env}}.docusign.net/restapi/{{version}}/accounts/{{acctId}}/envelopes/{{envelopeId}}/recipients?resend_envelope=true

{
"signers": [
{
"recipientId": "3",
"name": "Jane Doe",
"email": "janesemail@outlook.com"
}
]
}

请注意,我将为 名称电子邮件发送相同(原始)的值-因此,它实际上不会修改收件人-只是将电子邮件重新发送给Jane,因为我包括了 吗? URL中的resend_envelope = true

API Documentation

如果您想将电子邮件通知重新发送给所有待处理的收件人(即,路由顺序中排在第二位且尚未完成信封的任何人),则可以使用以下请求进行发送:
PUT https://demo.docusign.net/restapi/v2/accounts/<accountID>/envelopes/<envelopeID>?resend_envelope=true
{}

关于docusignapi - 重新发送DocuSign电子邮件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21565765/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com