DocuSign信封状态为“已创建”,将其存储在草稿文件夹中,当我单击“发送信封”时,收件人不会收到该信封。

时间:2017-07-10 04:26:07

标签: salesforce docusignapi

DocuSign Envelope状态为'Created',将其存储在草稿文件夹中。当我点击“发送”时,收件人不会收到信封。它显示在“等待他人”中。那是什么意思?我的信封请求JSON如下。在我获得信封ID后,我发出POST请求进行嵌入式签名,我获得了在新的SalesForce选项卡中打开的发件人视图URL。当我点击“发送”时,它会显示“成功”消息,但收件人不会收到电子邮件。

{
    "status": "created",
    "recipients": {
        "signers": [{
            "tabs": {
                "signHereTabs": [{
                    "yPosition": null,
                    "xPosition": null,
                    "width": "100",
                    "TabLabel": null,
                    "tabid": null,
                    "ScaleValue": null,
                    "required": "TRUE",
                    "RecipientId": "1",
                    "pageNumber": "1",
                    "optional": "false",
                    "Name": null,
                    "fontSize": "Size12",
                    "font": "Calibri",
                    "DocumentId": "1",
                    "anchorYoffset": null,
                    "anchorXOffset": null,
                    "anchorUnits": "pixels",
                    "anchorString": "Applicant Sign Here",
                    "anchorIgnoreIfNotPresent": "true"
                }],
                "initialHereTabs": [{
                    "yPosition": null,
                    "xPosition": null,
                    "width": "100",
                    "TabLabel": null,
                    "tabid": null,
                    "ScaleValue": null,
                    "required": "TRUE",
                    "RequireAll": "FALSE",
                    "RecipientId": "1",
                    "pageNumber": "1",
                    "optional": "false",
                    "Name": null,
                    "fontSize": "Size12",
                    "font": "Calibri",
                    "documentId": "1",
                    "anchorYoffset": null,
                    "anchorXOffset": null,
                    "anchorUnits": "pixels",
                    "anchorString": "Applicant Initial Here",
                    "anchorIgnoreIfNotPresent": "true"
                }],
                "dateSignedTabs": [{
                    "yPosition": null,
                    "xPosition": null,
                    "width": "100",
                    "TabLabel": null,
                    "tabid": null,
                    "ScaleValue": null,
                    "required": "TRUE",
                    "RecipientId": "1",
                    "pageNumber": "1",
                    "Name": null,
                    "fontSize": "Size12",
                    "font": "Calibri",
                    "DocumentId": "1",
                    "anchorYoffset": null,
                    "anchorXOffset": null,
                    "anchorUnits": "pixels",
                    "anchorString": "Applicant Date Signed",
                    "anchorIgnoreIfNotPresent": "true"
                }]
            },
            "routingOrder": null,
            "rolename": null,
            "recipientId": "1",
            "name": "XXXXXXXXX",
            "email": "xyz@gcps.com",
            "clientUserId": "1000"
        }, {
            "tabs": {
                "signHereTabs": [{
                    "yPosition": null,
                    "xPosition": null,
                    "width": "100",
                    "TabLabel": null,
                    "tabid": null,
                    "ScaleValue": null,
                    "required": "TRUE",
                    "RecipientId": "1",
                    "pageNumber": "1",
                    "optional": "false",
                    "Name": null,
                    "fontSize": "Size12",
                    "font": "Calibri",
                    "DocumentId": "1",
                    "anchorYoffset": null,
                    "anchorXOffset": null,
                    "anchorUnits": "pixels",
                    "anchorString": "Guarantor SignHere",
                    "anchorIgnoreIfNotPresent": "true"
                }],
                "initialHereTabs": [{
                    "yPosition": null,
                    "xPosition": null,
                    "width": "100",
                    "TabLabel": null,
                    "tabid": null,
                    "ScaleValue": null,
                    "required": "TRUE",
                    "RequireAll": "FALSE",
                    "RecipientId": "1",
                    "pageNumber": "1",
                    "optional": "false",
                    "Name": null,
                    "fontSize": "Size12",
                    "font": "Calibri",
                    "documentId": "1",
                    "anchorYoffset": null,
                    "anchorXOffset": null,
                    "anchorUnits": "pixels",
                    "anchorString": "Guarantor Initial Here",
                    "anchorIgnoreIfNotPresent": "true"
                }],
                "dateSignedTabs": [{
                    "yPosition": null,
                    "xPosition": null,
                    "width": "100",
                    "TabLabel": null,
                    "tabid": null,
                    "ScaleValue": null,
                    "required": "TRUE",
                    "RecipientId": "1",
                    "pageNumber": "1",
                    "Name": null,
                    "fontSize": "Size12",
                    "font": "Calibri",
                    "DocumentId": "1",
                    "anchorYoffset": null,
                    "anchorXOffset": null,
                    "anchorUnits": "pixels",
                    "anchorString": "Guarantor Date Signed",
                    "anchorIgnoreIfNotPresent": "true"
                }]
            },
            "routingOrder": null,
            "rolename": null,
            "recipientId": "2",
            "name": "XXXXXXXXXTestcase",
            "email": "yyy@gcps.com",
            "clientUserId": "2000"
        }],
        "carbonCopies": [{
            "routingOrder": "11",
            "recipientId": "11",
            "name": "DealerFunding",
            "email": "ggggg@cccc.com"
        }, {
            "routingOrder": "12",
            "recipientId": "12",
            "name": "CURRENt_DSR",
            "email": "tttt@hkhhk.com"
        }, {
            "routingOrder": "13",
            "recipientId": "13",
            "name": "DSR_TEAM_LEAD",
            "email": "JohnDoe@gcpa.com"
        }]
    },
    "messagelock": "false",
    "emailsubject": "Test Subject",
    "emailblurb": "Test Message",
    "documents": [{
        "name": "CodeOfConduct.pdf",
        "documentid": "1",
        "documentBase64": null
    }]
}

1 个答案:

答案 0 :(得分:1)

您指定的是 Signer.ClientUserId ,表示签名者是embedded recipient。如果您在没有ClientUserId参数的情况下创建信封,则会将电子邮件发送给签名者。

对于嵌入式签名,在创建信封后,您的应用程序必须拨打EnvelopeViews:CreateRecipient并生成签名网址。