Remove templaterole from envelope

2019-09-04 10:10发布

I have a template with a Signer and a CarbonCopy role. I create envelopes from the template. Sometimes I don't have a CC email to use for the CC templaterole. If I leave it blank, or if I don't provide the corresponding xml, (in both cases) I get an INVALID EMAIL ADDRESS error. The role is not set to be required, so I don't understand why this error occurs. Is there any way to remove the templaterole from the envelope to prevent this ?

标签: docusignapi
1条回答
爷、活的狠高调
2楼-- · 2019-09-04 10:40

Figured this out. My resolution:

Have only the signer role in the template.

After the call to create envelope (status created), do a GET on recipients

Parse/capture/store the contents of the signers tag

Build xml for the entire recipients tag, inclusive of the contents of the signers tag and all the carbonCopy tags that you want

POST to recipients

查看更多
登录 后发表回答