Docusign Api:为什么我不能选择发送信封的模板? [英] Docusign Api: Why can't I select the template to send the envelope with?

查看:156
本文介绍了Docusign Api:为什么我不能选择发送信封的模板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在用DocuSign发送信封时遇到问题。我在信封上指定了要使用的templateId(例如模板2),但是收件人不断获得模板1而不是模板2或模板3。

I have a problem sending envelopes with DocuSign. I specify the templateId that I want to use (lets say, template 2) with the envelope, but the recipient keeps getting template 1 instead of template 2 or template 3.

这是我的JSON对象:

Here is my JSON object:

    {
  "emailSubject": "Test Email",
  "emailBlurb": "This is for testing docusign api",
  "templateId": "{2}",
  "templateRoles": [
    {
      "email": "email",
      "name": "Shawn Williams",
      "roleName": "Signee",
      "tabs": {
        "fullNameTabs": [
          {
            "tabLabel": "Name 67755b0d-2284-.....id",
            "value": "Shawn Williams"
          }
        ],
        "companyTabs": [
          {
            "tabLabel": "Company f9d5d265-9d97-....id",
            "value": "SDD"
          }
        ],
        "titleTabs": [
          {
            "tabLabel": "Title 35713ae4-3330-4....id",
            "value": "MR"
          }
        ],
        "ssnTabs": [
          {
            "tabLabel": "SSN",
            "value": "123456789"
          }
        ],
        "firstNameTabs": [
          {
            "tabLabel": "F_Name",
            "value": "Shawn"
          }
        ],
        "lastNameTabs": [
          {
            "tabLabel": "L_Name",
            "value": ""
          }
        ],
        "emailAddressTabs": [
          {
            "tabLabel": "Email",
            "value": "swi"
          }
        ]
      }
    }
  ],
  "transactionId": "test-2-id",
  "status": "sent"
}

我真的很感谢您的帮助;我已经为此工作了3天。

I would really appreciate some help; I have been working on this for 3 days now.

编辑:我向 / envelopes发送了一个帖子,并且我的帐户目前处于演示阶段,以防万一

I send a post to '/envelopes' and my account is in the demo stage right now in case that is important.

我正在使用模板ID:66b9f112-d135-4e74-9a30-1c0a2333ae5b和cf5a9348-0d05-44ab-b0ac-8847303aa0ba。它们纯粹是出于测试原因,并且具有不同的字段。

I'm using template Ids: 66b9f112-d135-4e74-9a30-1c0a2333ae5b, and cf5a9348-0d05-44ab-b0ac-8847303aa0ba. They are purely for testing reasons and have different fields attached.

推荐答案

您要在 transactionId 中指定您的 CreateEnvelope 请求。这样可以防止使用新模板发送新的信封。

You are specifying the transactionId in your CreateEnvelope request. This is preventing from a new envelope being sent using the new template.

删除属性 transactionId: test-2-id ,则您的信封应与新模板一起发送。或为每个信封的交易ID属性使用新值。

Remove the property "transactionId": "test-2-id" and your envelope should be sent with the new template. Or use a new value for the transaction Id property for each envelope.

来自文档 :(扩展信封定义属性)

From Documentation : (expand the envelopeDefinition property)


transactionId :用于标识信封。该ID是发件人生成的值,并且在DocuSign系统中有效7天。 建议使用交易ID进行脱机签名,以确保不会多次发送信封。如果在返回信封状态之前断开了互联网连接,可以使用transactionId属性确定信封的状态(即是否创建了信封)。

transactionId : Used to identify an envelope. The id is a sender-generated value and is valid in the DocuSign system for 7 days. It is recommended that a transaction ID is used for offline signing to ensure that an envelope is not sent multiple times. The transactionId property can be used determine an envelope's status (i.e. was it created or not) in cases where the internet connection was lost before the envelope status was returned.

这篇关于Docusign Api:为什么我不能选择发送信封的模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆