我正在尝试重新发送用户可能放错地方或未收到的现有信封。API 正在使用请求更新信封,但不会重新发送电子邮件。我收到来自 api 的 200 OK 响应。这是我的电话;$envelopeApi->update($account_id, $env_id, json_encode([resend_envelope => true]));日志显示调用成功;PUT https://demo.docusign.net:7801/restapi/v2/accounts/eb84945a-xxxx-xxxx-xxxx-125dae50be01/envelopes/1e748673-xxxx-xxxx-xxxx-d932f6bdb90eContent-Type: application/jsonContent-Length: 24Transfer-Encoding: chunkedAccept: application/jsonAuthorization: Bearer [omitted]Host: demo.docusign.netUser-Agent: Swagger-Codegen/2.0.1/phpX-DocuSign-SDK: PHPX-SecurityProtocol-Version: TLSv1.2X-SecurityProtocol-CipherSuite: ECDHE-RSA-AES256-GCM-SHA384x-forwarded-for: {"resend_envelope":true}200 OKContent-Type: application/json; charset=utf-8Content-Length: 60X-DocuSign-TraceToken: 3f4d4386-xxxx-xxxx-xxxx-ede4199f7f35{ "envelopeId": "1e748673-xxxx-xxxx-xxxx-d932f6bdb90e"}
1 回答
拉风的咖菲猫
TA贡献1995条经验 获得超2个赞
对于任何遇到这篇文章的人来说,这是如何使用开发支持提供的 PHP SDK v2 重新发送信封。很遗憾 SDK 没有更好的文档记录。
$options = new DocuSign\eSign\Api\EnvelopesApi\UpdateOptions();
$options ->setResendEnvelope("True");
$results = $envelopeApi->update(self::$accountID, $envelopeid, "{}", $options);
- 1 回答
- 0 关注
- 160 浏览
添加回答
举报
0/150
提交
取消
