简体   繁体   English

超过DocuSign字符串字段的限制会怎样?

[英]What happens when the limits of DocuSign string fields are exceeded?

The DocuSign SOAP API lists various limits on API fields, eg Username can be a maximum of 100 chars, Email can be a maximum of 100 chars. DocuSign SOAP API列出了API字段的各种限制,例如,用户名最多可以为100个字符,电子邮件名最多可以为100个字符。 Does this mean that together, the "friendly name" and the email address can be 200 chars? 这是否意味着“友好名称”和电子邮件地址可以是200个字符?

For Example, would this be okay (ie only an email): ThisIsAReallyLongUserNameWhichWillBeAbout58CharactersLong@gmail.com ? 例如,这可以吗(即仅一封电子邮件):ThisIsAReallyLongUserNameWhichWillBeAbout58CharactersLong@gmail.com吗?

And this would NOT be okay: ThisIsAReallyLongUserNameWhichWillBeAbout58CharactersLong [ThisIsAReallyLongUserNameWhichWillBeAbout58CharactersLong@gmail.com] ? 而且这也不行:ThisIsAReallyLongUserNameWhichWillBeAbout58CharactersLong [ThisIsAReallyLongUserNameWhichWillBeAbout58CharactersLong@gmail.com]吗?

And what happens if those (or other) string limits are exceeded? 如果超出了这些(或其他)字符串限制,会发生什么? Is an error thrown or is it just truncated? 是抛出错误还是被截断? If an error, what kind of error? 如果有错误,那是什么样的错误?

Using the Visual Studio debugger, I modified input fields, and checked the results of the fields in the Envelope which are the the most important to our application (which uses the SOAP API): 使用Visual Studio调试器,我修改了输入字段,并检查了信封中字段的结果,这些结果对于我们的应用程序(使用SOAP API)最重要:

  • Document Name: This gets truncated to 100 characters by the DocuSign System. 文档名称:DocuSign系统会将其截断为100个字符。 No error is generated. 没有错误产生。
  • Recipients -> UserName: if this is greater than 100 characters, the DocuSign SOAP API throws an "Unspecified Error" 收件人->用户名:如果大于100个字符,则DocuSign SOAP API会引发“未指定的错误”
  • Recipients -> Email: This would be truncated to 100 characters by the DocuSign System ... and therefore the above sample would become something like this "ThisIsAReallyLongUserNameWhichWillBeAbout58CharactersLong [ThisIsAReallyLongUserNameWhichWillBeAbou". 收件人->电子邮件:DocuSign系统会将其截断为100个字符,因此上述示例将变成类似“ ThisIsAReallyLongUserNameWhichWillBeill58CharactersLong [ThisIsAReallyLongUserNameWhichWillBeAbou”的名称。 No error was generated, but it would fail if used as an email address. 没有生成错误,但是如果用作电子邮件地址,它将失败。
  • Email Subject: This gets truncated to 100 characters by the DocuSign System. 电子邮件主题:DocuSign系统会将其截断为100个字符。 No error is generated. 没有错误产生。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM