简体   繁体   中英

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. Does this mean that together, the "friendly name" and the email address can be 200 chars?

For Example, would this be okay (ie only an email): ThisIsAReallyLongUserNameWhichWillBeAbout58CharactersLong@gmail.com ?

And this would NOT be okay: 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):

  • Document Name: This gets truncated to 100 characters by the DocuSign System. No error is generated.
  • Recipients -> UserName: if this is greater than 100 characters, the DocuSign SOAP API throws an "Unspecified Error"
  • 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". 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. No error is generated.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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