首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >UNKNOWN_ENVELOPE_RECIPIENT错误

UNKNOWN_ENVELOPE_RECIPIENT错误
EN

Stack Overflow用户
提问于 2014-03-27 17:50:41
回答 1查看 135关注 0票数 0

当我尝试做嵌入式签名时,我得到了这个错误,但我不知道该怎么做,因为我重用了之前调用的数据。我正在做的调用如下,包括数据和响应:

代码语言:javascript
复制
 --------------------------------------add envelope data sent--------------------------------------
POST https://demo.docusign.net/restapi/v2/accounts/467376/envelopes
{"accountId":"467376","templateId":"54E1223E-BE28-4216-B692-EB5D229063C0","templateRoles":[{"email":"natxo+1395913609@kodify.io","name":"natxo1395913609","roleName":"Signer1","clientUserId":1395913609}],"status":"sent","messageLock":true,"ActivateEnvelope":true}
--------------------------------------add envelope response--------------------------------------
Array
(
    [envelopeId] => 60683ae6-4934-4613-a7ff-5caf6e9145ec
    [uri] => /envelopes/60683ae6-4934-4613-a7ff-5caf6e9145ec
    [statusDateTime] => 2014-03-27T09:46:55.8047277Z
    [status] => sent
)
--------------------------------------get envelope recipients call--------------------------------------
GET https://demo.docusign.net/restapi/v2/accounts/467376/envelopes/60683ae6-4934-4613-a7ff-5caf6e9145ec/recipients
--------------------------------------get envelope recipients data response--------------------------------------
Array
(
    [signers] => Array
        (
            [0] => Array
                (
                    [name] => natxo1395913609
                    [email] => natxo+1395913609@kodify.io
                    [recipientId] => 1
                    [recipientIdGuid] => 68e46f96-a745-493f-b160-7c3882e7081d
                    [requireIdLookup] => false
                    [userId] => 4d33efb3-4f6e-4d8a-ae42-8c4af58c2230
                    [clientUserId] => 1395913609
                    [routingOrder] => 1
                    [note] => 
                    [roleName] => Signer1
                    [status] => sent
                    [templateLocked] => false
                    [templateRequired] => false
                )

        )

    [agents] => Array
        (
        )

    [editors] => Array
        (
        )

    [intermediaries] => Array
        (
        )

    [carbonCopies] => Array
        (
        )

    [certifiedDeliveries] => Array
        (
        )

    [inPersonSigners] => Array
        (
        )

    [recipientCount] => 1
    [currentRoutingOrder] => 1
)
--------------------------------------get recipients view data--------------------------------------
POST https://demo.docusign.net/restapi/v2/accounts/467376/envelopes/54E1223E-BE28-4216-B692-EB5D229063C0/views/recipient
{"returnUrl":"http:\/\/www.fux.com","authenticationMethod":"None","email":"natxo+1395913609@kodify.io","userName":"natxo1395913609","clientUserId":"1395913609"}
--------------------------------------get recipients view response--------------------------------------
EN

回答 1

Stack Overflow用户

发布于 2014-03-27 22:20:36

看起来您在您的POST收件人查看请求中使用了 URL:

发布https://demo.docusign.net/restapi/v2/accounts/467376/envelopes/54E1223E-BE28-4216-B692-EB5D229063C0/views/recipient

您应该改用EnvelopeID

发布https://demo.docusign.net/restapi/v2/accounts/467376/envelopes/60683ae6-4934-4613-a7ff-5caf6e9145ec/views/recipient

我还建议更改POST Recipient View请求中的authenticationMethod属性和returnUrl属性的值,以便完整的请求如下所示:

代码语言:javascript
复制
POST https://demo.docusign.net/restapi/v2/accounts/467376/envelopes/60683ae6-4934-4613-a7ff-5caf6e9145ec/views/recipient
{
    "returnUrl":"http://www.fux.com",
    "authenticationMethod":"Email",
    "email":"natxo+1395913609@kodify.io",
    "userName":"natxo1395913609",
    "clientUserId":"1395913609"
}
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22683820

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档