Reputation: 75
Here is what I did:
Can someone guess what is going wrong? I have attached a partial screenshot of the API Explorer page as well.
Thanks Rohit
Upvotes: 0
Views: 151
Reputation: 13480
Seems like perhaps you're misunderstanding how the Email tab works.
If you've placed an Email tab in the Template itself (i.e., when creating the Template using the DocuSign web console), then DocuSign will automatically put the Email Address of the recipient (who 'owns' that tab) in that location when the Envelope is created -- you don't ever need to supply a value for an Email tab (because its value is automatically set to the recipient's Email address when the Envelope is created).
On the other hand, if you're trying to add another (additional) value to the Envelope's document(s) -- that contains an email address you specify in the "Create Envelope" API request (i.e., not necessarily the Email Address that corresponds to the recipient who owns that tab) -- then you don't want to use an Email tab, you should use a Text tab instead. By using a Text tab, you get the ability to explicity set its value in the "Create Envelope" API request. When you create the text tab, be sure to populate (at a minimum) the fields I show populated here:
Upvotes: 1