是否会有自动提醒签署协议,这是DocuSign的内置功能,必须使用PHP API在模板中激活

xpcnnkqh  于 2023-05-21  发布在  PHP
关注(0)|答案(1)|浏览(94)

是否会自动提醒签署协议这是DocuSign的内置功能,必须使用PHP和Laravel API在模板中激活

svgewumm

svgewumm1#

是的,你可以使用PHP https://www.docusign.com/blog/dsdev-common-api-tasks-add-reminders-and-expiration-to-an-envelope来实现这一点,详细介绍了它,一个示例PHP代码是:

$envelopeDefinition = new \DocuSign\eSign\Model\EnvelopeDefinition();
$notification = new \DocuSign\eSign\Model\Notification();
$notification->setUseAccountDefaults('false'); # customize the notification for this envelope
$reminders = new \DocuSign\eSign\Model\Reminders();
$reminders->setReminderEnabled('true');
$reminders->setReminderDelay('3');  # first reminder to be sent three days after envelope was sent
$reminders->setReminderFrequency('2'); # keep sending reminders every two days
$expirations = new \DocuSign\eSign\Model\Expirations();
$expirations->setExpireEnabled('true');
$expirations->setExpireAfter('30');  # envelope will expire after 30 days
$expirations->setExpireWarn('2');  # expiration reminder would be sent two days before expiration
$notification->setExpirations($expirations);
$notification->setReminders($reminders);
$envelopeDefinition->setNotification($notification);

相关问题