Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Docusignapi Docusign API无效电子邮件地址错误,来自inPersonSigner收件人类型的文档请求的签名无效_Docusignapi - Fatal编程技术网

Docusignapi Docusign API无效电子邮件地址错误,来自inPersonSigner收件人类型的文档请求的签名无效

Docusignapi Docusign API无效电子邮件地址错误,来自inPersonSigner收件人类型的文档请求的签名无效,docusignapi,Docusignapi,我目前正在测试一个API调用,它最终允许代理提供签名,另一方亲自签名。通过API Explorer发送调用时,我将继续收到以下响应: { "errorCode": "INVALID_EMAIL_ADDRESS_FOR_RECIPIENT", "message": "The email address for one of the recipients is not valid." } 我在RESTAPI指南中读到,需要为我的帐户启用此功能;可能是我的demo dev帐户没有启用此功能。

我目前正在测试一个API调用,它最终允许代理提供签名,另一方亲自签名。通过API Explorer发送调用时,我将继续收到以下响应:

{
  "errorCode": "INVALID_EMAIL_ADDRESS_FOR_RECIPIENT",
  "message": "The email address for one of the recipients is not valid."
}
我在RESTAPI指南中读到,需要为我的帐户启用此功能;可能是我的demo dev帐户没有启用此功能。我只需要验证我是否没有在这个调用中忽略任何基本参数。我已尝试以帐户持有人的身份发送电子邮件,但仍然收到此错误。以下是我的请求正文:

{
  "emailBlurb": "test",
  "emailSubject": "test",
  "documents": [
    {
      "name": "ChiropractorPlusApplication.pdf",
      "documentId": "1"
    }
  ],
  "recipients": {
    "inPersonSigners": [
      {
        "hostName": "Joe Host",
        "recipientId": "1",
        "name": "Name",
        "email": "host@gmail.com",
        "signerName": "Insured"
      }
    ]
  },
  "status": "sent"
}

谢谢

我相信您已经在RESTAPI浏览器中发现了一个bug,因为它至少缺少一个用于亲自签名的字段。如果您查看,您将看到对于亲自签名者,还有一个必需的参数,即
hostEmail

尝试添加到JSON

"hostEmail" : "host's email address",
我有一种感觉,这会起作用。请参阅REST API v2 PDF第275页,以了解有关亲自签名者收件人类型的信息。它首先显示一个带有所有选项的示例请求,然后在下面列出此收件人类型所需的字段:

就是这样——有道理。我确实参考了这个例子,并假设email字段实际上是为主机设置的。这就是我假设的结果;-)谢谢你,埃尔金。