首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Docusign NodeJS EnvelopeViews: createRecipient UNKNOWN_ENVELOPE_RECIPIENT

Docusign NodeJS EnvelopeViews: createRecipient UNKNOWN_ENVELOPE_RECIPIENT
EN

Stack Overflow用户
提问于 2021-05-02 13:39:47
回答 1查看 32关注 0票数 0

我调用获取信封收件人API https://demo.docusign.net/restapi/v2.1/accounts/cf70dfa7-a861-4029-b149-5360c090ebfa/envelopes/4de0ca11-e07b-4ff0-936f-cdd37ff18ed2/recipients,它返回clientUserId、userId、email等。奇怪的是,即使我将其发送给自己,它返回的用户id也与我发送的用户id不同。

代码语言:javascript
复制
{
    "signers": [
        {
            "creationReason": "sender",
            "isBulkRecipient": "false",
            "recipientSuppliesTabs": "true",
            "requireUploadSignature": "false",
            "name": "michael",
            "firstName": "",
            "lastName": "",
            "email": "email@email.email",
            "recipientId": "2",                  //idk why this is 2
            "recipientIdGuid": "smth",
            "requireIdLookup": "false",
            "userId": "fdbb65f9-ea71-4e59-8374-0e1952c70e0a",
            "clientUserId": "random",
            "routingOrder": "1",
            "roleName": "signer",
            "status": "sent",
            "completedCount": "0",
            "deliveryMethod": "email",
            "recipientType": "signer"
        }
    ],etcetc
}

使用它们,我调用POST /view/recipient并插入所有这些相同的东西

代码语言:javascript
复制
{
  "authenticationMethod": "HTTPBasicAuth",//I've tried this and password
  "clientUserId": "random",
  "email": "userid", //Tried both user ID's, and email + name, didnt work
  "recipientId": "2",     //same as above
  "returnUrl": "http://localhost:3001/marketplace",
  "userName": "userid"//tried same thing, and leaving this blank, gave another error
}

但是它给出了错误代码

代码语言:javascript
复制
{
    "errorCode": "UNKNOWN_ENVELOPE_RECIPIENT",
    "message": "The recipient you have identified is not a valid recipient of the specified envelope."
}

请帮帮忙,我会付给你1美元的任何密码你想要的。

EN

回答 1

Stack Overflow用户

发布于 2021-05-03 00:43:36

以下是您的第二个调用应该基于您的第一个调用:

代码语言:javascript
复制
{
  "authenticationMethod": "none",
  "clientUserId": "123456",
  "email": "email@email.email", 
  "returnUrl": "http://localhost:3001/marketplace",
  "userName": "michael"
}
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67353314

复制
相关文章

相似问题

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