是否有API端点允许我重新触发收件人的电子邮件?有时,用户可能无法获取或丢失包含其签名链接的DocuSign电子邮件.我希望能够按需发送这些电子邮件.
Kim*_*ndl 12
您可以使用"修改收件人"请求来触发重新发送电子邮件通知.
PUT /accounts/{accountId}/envelopes/{envelopeId}/recipients?resend_envelope=true
Run Code Online (Sandbox Code Playgroud)
确保在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"
}
Run Code Online (Sandbox Code Playgroud)
然后,我可以使用以下请求触发重新发送签名邀请电子邮件给不完整的收件人("Jane Doe"):
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"
}
]
}
Run Code Online (Sandbox Code Playgroud)
请注意,我要送一样的(原来的)值名称和电子邮件 -所以它不会实际修改收件人-它只会重新发送电子邮件至简,因为我包括resend_envelope =真的吗?在URL.
我不确定是否存在单独的 api 调用只是为了重新发送信封(通知),但是您可以通过使用修改或更正并重新发送收件人信息api 调用来摆脱它。
该调用通常用于更正有关收件人的信息 - 例如,如果您创建了一个包含错误电子邮件地址的信封,或者可能使用了错误的某人姓名,您可以使用此调用来修改电子邮件地址并重新发送信封。当您进行调用时,有一个可选的查询参数,称为
?resend_envelope={true or false}
Run Code Online (Sandbox Code Playgroud)
尝试进行此调用,但不要更改任何收件人信息,只需附加 URL 参数,这可能会重新发送信封。
归档时间: |
|
查看次数: |
3349 次 |
最近记录: |