如何使用.Net API分配NumberTab [英] How do you assign a NumberTab using .Net API

查看:77
本文介绍了如何使用.Net API分配NumberTab的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过DocuSign.eSign.dll使用.Net API,并且试图将DocuSign.eSign.Model.Number对象分配给签名者,但是,我没有看到将其分配给签名者的方法。

I'm using the .Net API via DocuSign.eSign.dll and I'm trying to assign a DocuSign.eSign.Model.Number object to the signer, however, I don't see a method to assign it to the DocuSign.eSign.Model.Signer.

根据其他一些资源,使用REST API的人可以使用以下语法分配数字标签:

According to some other resources, using the REST API one can assign a Number Tab using the following syntax:

{

   "signers": [
        {
            "tabs": {
                "numberTabs": [
                    {
                        "validationPattern": "",
                        "validationMessage": "",
...

但是,通过提供的DocuSign.eSign.dll使用.Net API-Tabs的分配方法是通过DocuSign.eSign.Model.Signer标签容器。该对象似乎可以分配选项卡,但是此对象上的NumberTabs定义如下:

However, using the .Net API via the provided DocuSign.eSign.dll - the assignment method of Tabs is via the DocuSign.eSign.Model.Signer.Tabs container. This object appears to have the ability to assign tabs, however the NumberTabs definition on this object is as follows:

[DataMember(Name = "numberTabs", EmitDefaultValue = false)]
public List<double?> NumberTabs { get; set; }

为了分配DocuSign.eSign.Model.Number对象的列表,我希望上面的数据成员应该像下面这样设置:

In order to assign a list of DocuSign.eSign.Model.Number objects, I would have expected that the above data member should be set-up like the following:

[DataMember(Name = " numberTabs ", EmitDefaultValue = false)]
public List<Number> NumberTabs { get; set; }

既然不是这种情况,您能告诉我如何分配数字标签吗?使用.Net API?

Since this isn't the case, can you let me know how I can assign the Number tab using the .Net API?

推荐答案

看起来这是最新DocuSign.eSign Nuget Package版本( 2.1.0

Looks like this is a bug with the latest DocuSign.eSign Nuget Package version (2.1.0)

C#SDK确实列出了数字选项卡,如下所示。文档此处

The C# SDK does list the Number tabs as follows. Documentation here

 [DataMember(Name="numberTabs", EmitDefaultValue=false)]
 public List<Number> NumberTabs { get; set; }

您可以切换回先前的版本( 2.0.6 )或直接编译 C#SDK 并使用它。

You can either switch back to previous version (2.0.6) of the DocuSign.eSign nuget package or directly compile the C# SDK and use it.

Install-Package DocuSign.eSign.dll -Version 2.0.6

更新:

此问题已通过Nuget软件包 2.1.2

This issue has been fixed with Nuget package 2.1.2

这篇关于如何使用.Net API分配NumberTab的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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